?? config.h
字號:
#ifndef __CONFIG_H__#define __CONFIG_H__//在AIX和HP平臺下,編譯器不能自動識別,需要在這里使用宏定義進行控制// ssj ADD 2005-9-20#if defined(AIX) #define HAVE_STDINT_H 1 #if defined(AIX_BITS64) || defined(BIT64) #define SIZEOF_CHAR 1 #define SIZEOF_SHORT 4 #define SIZEOF_INT 8 #define SIZEOF_LONG 8 #define SIZEOF_LONG_LONG 8 #define SIZEOF_VOID_P 8 #define SIZEOF_PTRDIFF_T 8 #define SIZEOF_SIZE_T 8 #elif defined(AIX_BITS32) || defined(BIT32) #define SIZEOF_CHAR 1 #define SIZEOF_SHORT 2 #define SIZEOF_INT 4 #define SIZEOF_LONG 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_VOID_P 4 #define SIZEOF_PTRDIFF_T 4 #define SIZEOF_SIZE_T 4 #endif#elif defined(HP) || defined(HP_UNIX) || defined(_HP_UX) #if defined(HP_BITS64) || defined(BIT64) #define SIZEOF_CHAR 1 #define SIZEOF_SHORT 4 #define SIZEOF_INT 8 #define SIZEOF_LONG 8 #define SIZEOF_LONG_LONG 8 #define SIZEOF_VOID_P 8 #define SIZEOF_PTRDIFF_T 8 #define SIZEOF_SIZE_T 8 #elif defined(HP_BITS32) || defined(BIT32) #define SIZEOF_CHAR 1 #define SIZEOF_SHORT 2 #define SIZEOF_INT 4 #define SIZEOF_LONG 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_VOID_P 4 #define SIZEOF_PTRDIFF_T 4 #define SIZEOF_SIZE_T 4 #endif#elif defined(LINUX) || defined(__LINUX) #define SIZEOF_VOID_P 4 #define SIZEOF_PTRDIFF_T 4 #define SIZEOF_SIZE_T 4 #define HAVE_INTTYPES_H 1#elif defined(WIN32) #define SIZEOF_VOID_P 4 #define SIZEOF_PTRDIFF_T 4 #define SIZEOF_SIZE_T 4#else #error Cannot find a define type for your platform#endif#endif // __CONFIG_H__
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -