1
0
mirror of https://github.com/upx/upx synced 2025-09-28 19:06:07 +08:00

conf.h: check for proper WITH_LZMA.

This commit is contained in:
Markus F.X.J. Oberhumer 2016-09-20 12:45:28 +02:00
parent 2fb38ce13a
commit 077bbdfc78

View File

@ -105,11 +105,11 @@ typedef acc_uintptr_t upx_uintptr_t;
#if !defined(WITH_UCL) #if !defined(WITH_UCL)
# define WITH_UCL 1 # define WITH_UCL 1
#endif #endif
#if 0 && !defined(WITH_LZMA) #if !defined(WITH_LZMA) || (WITH_LZMA+0 == 0)
# define WITH_LZMA 1 # error "WITH_LZMA is missing"
#endif #endif
#if 1 && (ACC_CC_WATCOMC) #if (WITH_LZMA+0 != 0x443)
# undef WITH_LZMA # error "invalud WITH_LZMA"
#endif #endif
#if defined(UPX_OFFICIAL_BUILD) #if defined(UPX_OFFICIAL_BUILD)
# if !(WITH_LZMA) || !(WITH_NRV) || !(WITH_UCL) # if !(WITH_LZMA) || !(WITH_NRV) || !(WITH_UCL)