mirror of
https://github.com/upx/upx
synced 2025-09-28 19:06:07 +08:00
Small conf.h update.
This commit is contained in:
parent
5ed689ceb0
commit
57a64de023
|
@ -107,8 +107,8 @@
|
|||
#elif (ACC_CC_SUNPROC)
|
||||
//# pragma error_messages(off,"badargtype2w") // FIXME
|
||||
#elif (ACC_CC_WATCOMC)
|
||||
# if (__WATCOMC__ < 1100)
|
||||
# error "need Watcom C++ 11.0c or newer"
|
||||
# if (__WATCOMC__ < 1280)
|
||||
# error "need Open Watcom C++ 1.8 or newer" // because earlier versions do not support nested classes
|
||||
# endif
|
||||
# if defined(__cplusplus)
|
||||
# pragma warning 367 9 // w3: conditional expression in if statement is always true
|
||||
|
|
|
@ -846,7 +846,7 @@ bool PackLinuxElf32::canPack()
|
|||
{
|
||||
union {
|
||||
unsigned char buf[sizeof(Elf32_Ehdr) + 14*sizeof(Elf32_Phdr)];
|
||||
//struct { U_Elf32_Ehdr ehdr; U_Elf32_Phdr phdr; } e;
|
||||
//struct { Elf32_Ehdr ehdr; Elf32_Phdr phdr; } e;
|
||||
} u;
|
||||
COMPILE_TIME_ASSERT(sizeof(u.buf) <= 512);
|
||||
|
||||
|
|
|
@ -97,10 +97,6 @@ namespace std { class bad_alloc { }; }
|
|||
#elif (ACC_CC_SYMANTECC)
|
||||
#define std
|
||||
class bad_alloc { };
|
||||
#elif (ACC_CC_WATCOMC && (__WATCOMC__ >= 1280))
|
||||
#elif (ACC_CC_WATCOMC)
|
||||
#define std
|
||||
class bad_alloc { };
|
||||
#endif
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user