1
0
mirror of https://github.com/upx/upx synced 2025-10-05 19:20:23 +08:00

New ACC version.

committer: mfx <mfx> 1090253767 +0000
This commit is contained in:
Markus F.X.J. Oberhumer 2004-07-19 16:16:07 +00:00
parent a2b305ed3b
commit 6662f8985e
3 changed files with 6 additions and 6 deletions

View File

@ -27,7 +27,7 @@
#ifndef __ACC_H_INCLUDED #ifndef __ACC_H_INCLUDED
#define __ACC_H_INCLUDED 1 #define __ACC_H_INCLUDED 1
#define ACC_VERSION 20040713L #define ACC_VERSION 20040715L
#if !defined(ACC_CONFIG_INCLUDE) #if !defined(ACC_CONFIG_INCLUDE)
# define ACC_CONFIG_INCLUDE(file) file # define ACC_CONFIG_INCLUDE(file) file

View File

@ -36,7 +36,7 @@
# define acc_inline __inline # define acc_inline __inline
#elif (ACC_CC_INTELC) #elif (ACC_CC_INTELC)
# define acc_inline __inline # define acc_inline __inline
#elif (ACC_CC_MSC && (_MSC_VER >= 1000)) #elif (ACC_CC_MSC && (_MSC_VER >= 900))
# define acc_inline __inline # define acc_inline __inline
#elif defined(__STDC_VERSION__) && (__STDC_VERSION__ >= 199901L) #elif defined(__STDC_VERSION__) && (__STDC_VERSION__ >= 199901L)
# define acc_inline inline # define acc_inline inline
@ -68,11 +68,11 @@
# elif (ACC_CC_BORLANDC || ACC_CC_NDPC || ACC_CC_TURBOC) # elif (ACC_CC_BORLANDC || ACC_CC_NDPC || ACC_CC_TURBOC)
# define ACC_UNUSED_FUNC(func) if (func) ; else # define ACC_UNUSED_FUNC(func) if (func) ; else
# elif (ACC_CC_GNUC == 0x030400ul) && defined(__llvm__) # elif (ACC_CC_GNUC == 0x030400ul) && defined(__llvm__)
# define ACC_UNUSED_FUNC(func) ((void) (void (*)(void)) func) # define ACC_UNUSED_FUNC(func) ((void) &func)
# elif (ACC_CC_MSC && (_MSC_VER < 900)) # elif (ACC_CC_MSC && (_MSC_VER < 900))
# define ACC_UNUSED_FUNC(func) if (func) ; else # define ACC_UNUSED_FUNC(func) if (func) ; else
# elif (ACC_CC_MSC && (_MSC_VER >= 1200)) # elif (ACC_CC_MSC)
# define ACC_UNUSED_FUNC(func) ((void) (void (*)(void)) func) # define ACC_UNUSED_FUNC(func) ((void) &func)
# elif (ACC_CC_KEILC) # elif (ACC_CC_KEILC)
# define ACC_UNUSED_FUNC(func) # define ACC_UNUSED_FUNC(func)
# else # else

View File

@ -33,7 +33,7 @@
# define __ACCLIB_UCLOCK_USE_CLOCK 1 # define __ACCLIB_UCLOCK_USE_CLOCK 1
# else # else
# define __ACCLIB_UCLOCK_USE_WINMM 1 # define __ACCLIB_UCLOCK_USE_WINMM 1
# if (ACC_CC_MSC && (_MSC_VER >= 1000)) # if (ACC_CC_MSC && (_MSC_VER >= 900))
/* avoid `-W4' warnings in <mmsystem.h> */ /* avoid `-W4' warnings in <mmsystem.h> */
# pragma warning(disable: 4201) # pragma warning(disable: 4201)
# elif (ACC_CC_MWERKS) # elif (ACC_CC_MWERKS)