Added support for LZMA SDK 4.57. Compiles, but pretty much untested.

This commit is contained in:
Markus F.X.J. Oberhumer
2007-12-17 05:54:08 +01:00
parent 30a98b7e8c
commit e4f4eace1c
3 changed files with 9 additions and 5 deletions
+5 -3
View File
@@ -545,12 +545,14 @@ int upx_lzma_test_overlap ( const upx_bytep buf,
const char *upx_lzma_version_string(void)
{
#if (WITH_LZMA == 0x449)
#if (WITH_LZMA + 0 == 0x457)
return "4.57";
#elif (WITH_LZMA + 0 == 0x449)
return "4.49";
#elif (WITH_LZMA == 0x443)
#elif (WITH_LZMA + 0 == 0x443)
return "4.43";
#else
# error "unknown version"
# error "unknown WITH_LZMA version"
return NULL;
#endif
}