--- np2/x11/compiler.h 2004/01/15 15:52:32 1.9 +++ np2/x11/compiler.h 2004/01/23 14:35:45 1.10 @@ -112,7 +112,10 @@ typedef int BOOL; #define roundup(x, y) ((((x)+((y)-1))/(y))*(y)) #endif +#ifndef UNUSED #define UNUSED(v) ((void)(v)) +#endif + #define FASTCALL #define SOUNDCALL #define MEMCALL @@ -139,6 +142,9 @@ UINT32 gettick(); #define GETRAND() random() #define SPRINTF sprintf +void toolkit_msgbox(const char *title, const char *msg); +#define msgbox(title, msg) toolkit_msgbox(title, msg); + #if defined(i386) || defined(__i386__) #undef MEMOPTIMIZE #elif defined(arm) || defined (__arm__) @@ -157,6 +163,8 @@ UINT32 gettick(); #define SUPPORT_32BPP #define SUPPORT_NORMALDISP +#define SUPPORT_HOSTDRV + #if defined(USE_GTK) #define SUPPORT_KEYDISP #endif