--- np2/x11/compiler.h 2004/01/23 14:35:45 1.10 +++ np2/x11/compiler.h 2004/02/05 16:39:19 1.12 @@ -38,6 +38,7 @@ #include #include #include +#include #include #include #include @@ -142,11 +143,17 @@ UINT32 gettick(); #define GETRAND() random() #define SPRINTF sprintf +#if defined(CPUCORE_IA32) void toolkit_msgbox(const char *title, const char *msg); #define msgbox(title, msg) toolkit_msgbox(title, msg); +#endif #if defined(i386) || defined(__i386__) #undef MEMOPTIMIZE +#define LOADINTELDWORD(a) (*((UINT32 *)(a))) +#define LOADINTELWORD(a) (*((UINT16 *)(a))) +#define STOREINTELDWORD(a, b) *(UINT32 *)(a) = (b) +#define STOREINTELWORD(a, b) *(UINT16 *)(a) = (b) #elif defined(arm) || defined (__arm__) #define MEMOPTIMIZE 2 #define REG8 UINT @@ -165,7 +172,11 @@ void toolkit_msgbox(const char *title, c #define SUPPORT_HOSTDRV +#undef SUPPORT_SASI +#undef SUPPORT_SCSI + #if defined(USE_GTK) +#define SUPPORT_S98 #define SUPPORT_KEYDISP #endif