1
0
mirror of https://github.com/upx/upx synced 2025-09-28 19:06:07 +08:00
committer: mfx <mfx> 1049194128 +0000
This commit is contained in:
Markus F.X.J. Oberhumer 2003-04-01 10:48:48 +00:00
parent 502f9b5a00
commit bead894e49
3 changed files with 26 additions and 5 deletions

View File

@ -22,7 +22,7 @@
*/ */
#define ACC_VERSION 20030325L #define ACC_VERSION 20030401L
#if !defined(ACC_CONFIG_INCLUDE) #if !defined(ACC_CONFIG_INCLUDE)
# define ACC_CONFIG_INCLUDE(file) file # define ACC_CONFIG_INCLUDE(file) file

View File

@ -35,13 +35,13 @@
# define ACC_INFO_ARCH "ia16" # define ACC_INFO_ARCH "ia16"
#elif (ACC_OS_DOS32 || ACC_OS_OS2 || ACC_OS_WIN32) #elif (ACC_OS_DOS32 || ACC_OS_OS2 || ACC_OS_WIN32)
# if defined(_MSC_VER) && !defined(_M_IX86) # if defined(_MSC_VER) && !defined(_M_IX86)
# error # error "unexpected CPU architechture"
# endif # endif
# define ACC_ARCH_IA32 1 # define ACC_ARCH_IA32 1
# define ACC_INFO_ARCH "ia32" # define ACC_INFO_ARCH "ia32"
#elif (ACC_OS_WIN64) #elif (ACC_OS_WIN64)
# if defined(_MSC_VER) && !defined(_M_IA64) # if defined(_MSC_VER) && !defined(_M_IA64)
# error # error "unexpected CPU architechture"
# endif # endif
# define ACC_ARCH_IA64 1 # define ACC_ARCH_IA64 1
# define ACC_INFO_ARCH "ia64" # define ACC_INFO_ARCH "ia64"

View File

@ -41,6 +41,8 @@
#define HAVE_SYS_UTIME_H 1 #define HAVE_SYS_UTIME_H 1
#define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_TYPES_H 1
#undef HAVE_STRINGS_H
#if defined(__GLIBC__) && defined(__GLIBC_MINOR__) #if defined(__GLIBC__) && defined(__GLIBC_MINOR__)
# undef HAVE_CONIO_H # undef HAVE_CONIO_H
@ -48,6 +50,14 @@
# undef HAVE_IO_H # undef HAVE_IO_H
# undef HAVE_SHARE_H # undef HAVE_SHARE_H
# undef HAVE_SYS_UTIME_H # undef HAVE_SYS_UTIME_H
# define HAVE_STRINGS_H 1
#elif defined(__dietlibc__)
# undef HAVE_CONIO_H
# undef HAVE_DOS_H
# undef HAVE_IO_H
# undef HAVE_SHARE_H
# undef HAVE_SYS_UTIME_H
# define HAVE_STRINGS_H 1
#elif (ACC_CC_BORLANDC) #elif (ACC_CC_BORLANDC)
# undef HAVE_UNISTD_H # undef HAVE_UNISTD_H
# undef HAVE_SYS_TIME_H # undef HAVE_SYS_TIME_H
@ -62,12 +72,15 @@
# undef HAVE_SYS_UTIME_H # undef HAVE_SYS_UTIME_H
#elif (ACC_CC_GNUC && ACC_OS_WIN32 && defined(__MINGW32__)) #elif (ACC_CC_GNUC && ACC_OS_WIN32 && defined(__MINGW32__))
# undef HAVE_UTIME_H # undef HAVE_UTIME_H
#elif (ACC_CC_GNUC && ACC_OS_TOS && defined(__MINT__)) #elif (ACC_CC_GNUC && ACC_OS_TOS)
# undef HAVE_CONIO_H # undef HAVE_CONIO_H
# undef HAVE_DOS_H # undef HAVE_DOS_H
# undef HAVE_IO_H # undef HAVE_IO_H
# undef HAVE_SHARE_H # undef HAVE_SHARE_H
# undef HAVE_SYS_UTIME_H # undef HAVE_SYS_UTIME_H
# if !defined(__MINT__)
# undef HAVE_MALLOC_H
# endif
#elif (ACC_CC_INTELC && ACC_OS_WIN32) #elif (ACC_CC_INTELC && ACC_OS_WIN32)
# undef HAVE_UNISTD_H # undef HAVE_UNISTD_H
# undef HAVE_UTIME_H # undef HAVE_UTIME_H
@ -244,6 +257,9 @@
#if defined(__GLIBC__) && defined(__GLIBC_MINOR__) #if defined(__GLIBC__) && defined(__GLIBC_MINOR__)
# undef HAVE_GETUMASK # undef HAVE_GETUMASK
# undef HAVE_SETMODE # undef HAVE_SETMODE
#elif defined(__dietlibc__)
# undef HAVE_GETUMASK
# undef HAVE_SETMODE
#elif (ACC_CC_BORLANDC) #elif (ACC_CC_BORLANDC)
# if (__BORLANDC__ < 0x500) # if (__BORLANDC__ < 0x500)
# undef HAVE_DIFFTIME /* difftime() is in the math library */ # undef HAVE_DIFFTIME /* difftime() is in the math library */
@ -259,8 +275,13 @@
# undef HAVE_SNPRINTF # undef HAVE_SNPRINTF
# undef HAVE_VSNPRINTF # undef HAVE_VSNPRINTF
#elif (ACC_CC_GNUC && ACC_OS_WIN32 && defined(__MINGW32__)) #elif (ACC_CC_GNUC && ACC_OS_WIN32 && defined(__MINGW32__))
#elif (ACC_CC_GNUC && ACC_OS_TOS && defined(__MINT__)) #elif (ACC_CC_GNUC && ACC_OS_TOS)
# undef HAVE_SETMODE # undef HAVE_SETMODE
# if !defined(__MINT__)
# undef HAVE_GETUMASK
# undef HAVE_SNPRINTF
# undef HAVE_VSNPRINTF
# endif
#elif (ACC_CC_INTELC && ACC_OS_WIN32) #elif (ACC_CC_INTELC && ACC_OS_WIN32)
# define snprintf _snprintf # define snprintf _snprintf
# define vsnprintf _vsnprintf # define vsnprintf _vsnprintf