|
|
| version 1.29, 2005/03/12 12:36:13 | version 1.33, 2007/01/20 22:33:06 |
|---|---|
| Line 29 | Line 29 |
| #ifndef NP2_X11_COMPILER_H__ | #ifndef NP2_X11_COMPILER_H__ |
| #define NP2_X11_COMPILER_H__ | #define NP2_X11_COMPILER_H__ |
| #ifdef HAVE_CONFIG_H | |
| #include "config.h" | |
| #endif | |
| #ifdef WORDS_BIGENDIAN | #ifdef WORDS_BIGENDIAN |
| #define BYTESEX_BIG | #define BYTESEX_BIG |
| #else /* !WORDS_BIGENDIAN */ | #else /* !WORDS_BIGENDIAN */ |
| Line 73 | Line 77 |
| #include "glib.h" | #include "glib.h" |
| typedef gint32 SINT; | |
| typedef guint32 UINT; | typedef guint32 UINT; |
| typedef gint8 SINT8; | typedef gint8 SINT8; |
| Line 95 typedef gboolean BOOL; | Line 100 typedef gboolean BOOL; |
| #else /* USE_GTK == 0 && USE_GTK2 == 0 */ | #else /* USE_GTK == 0 && USE_GTK2 == 0 */ |
| typedef signed int SINT; | |
| typedef unsigned int UINT; | typedef unsigned int UINT; |
| typedef signed char SINT8; | typedef signed char SINT8; |
| Line 200 UINT32 gettick(void); | Line 206 UINT32 gettick(void); |
| #define STRLEN strlen | #define STRLEN strlen |
| #define OEMCHAR char | #define OEMCHAR char |
| #define OEMTEXT(s) (s) | #define OEMTEXT(s) s |
| #define OEMNULLSTR OEMTEXT("") | #define OEMNULLSTR OEMTEXT("") |
| #define OEMSPRINTF sprintf | #define OEMSPRINTF sprintf |
| #define OEMSTRLEN strlen | #define OEMSTRLEN strlen |
| Line 235 void toolkit_msgbox(const char *title, c | Line 241 void toolkit_msgbox(const char *title, c |
| #endif | #endif |
| #define SUPPORT_EUC | #define SUPPORT_EUC |
| #define SUPPORT_SJIS | |
| #undef SUPPORT_8BPP | #undef SUPPORT_8BPP |
| #define SUPPORT_16BPP | #define SUPPORT_16BPP |