|
|
| version 1.34, 2007/01/23 15:48:20 | version 1.35, 2008/02/07 14:37:30 |
|---|---|
| Line 179 typedef int BOOL; | Line 179 typedef int BOOL; |
| #endif /* i386 */ | #endif /* i386 */ |
| #if defined(__GNUC__) | #if defined(__GNUC__) |
| #define GCC_ATTR_PACKED __attribute__((packed)) | |
| #if defined(NP2_CPU_ARCH_IA32) | #if defined(NP2_CPU_ARCH_IA32) |
| #define GCC_CPU_ARCH_IA32 | #define GCC_CPU_ARCH_IA32 |
| #endif | #endif |
| Line 221 void toolkit_msgbox(const char *title, c | Line 220 void toolkit_msgbox(const char *title, c |
| #define LOADINTELWORD(a) (*((UINT16 *)(a))) | #define LOADINTELWORD(a) (*((UINT16 *)(a))) |
| #define STOREINTELDWORD(a, b) *(UINT32 *)(a) = (b) | #define STOREINTELDWORD(a, b) *(UINT32 *)(a) = (b) |
| #define STOREINTELWORD(a, b) *(UINT16 *)(a) = (b) | #define STOREINTELWORD(a, b) *(UINT16 *)(a) = (b) |
| #if defined(__GNUC__) && defined(IA32_USE_GCC_ATTR_REGPARM) | |
| #define GCC_ATTR_REGPARM __attribute__((regparm(2))) | |
| #endif | |
| #elif defined(arm) || defined (__arm__) | #elif defined(arm) || defined (__arm__) |
| #define MEMOPTIMIZE 2 | #define MEMOPTIMIZE 2 |
| #define REG8 UINT | #define REG8 UINT |