|
|
| version 1.45, 2012/01/22 21:47:13 | version 1.47, 2012/01/23 09:51:48 |
|---|---|
| Line 67 | Line 67 |
| #include <sys/param.h> | #include <sys/param.h> |
| #include <sys/time.h> | #include <sys/time.h> |
| #include <sys/stat.h> | |
| #include <assert.h> | #include <assert.h> |
| #include <errno.h> | #include <errno.h> |
| #include <fcntl.h> | #include <fcntl.h> |
| Line 188 UINT32 gettick(void); | Line 189 UINT32 gettick(void); |
| #if defined(NP2_CPU_ARCH_IA32) | #if defined(NP2_CPU_ARCH_IA32) |
| #undef MEMOPTIMIZE | #undef MEMOPTIMIZE |
| #define LOADINTELDWORD(a) (*((UINT32 *)(a))) | #define LOADINTELDWORD(a) (*((const UINT32 *)(a))) |
| #define LOADINTELWORD(a) (*((UINT16 *)(a))) | #define LOADINTELWORD(a) (*((const 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(DEBUG) && !defined(NP2_CPU_ARCH_AMD64) | #if !defined(DEBUG) && !defined(NP2_CPU_ARCH_AMD64) |