|
|
| version 1.2, 2003/11/16 16:43:45 | version 1.6, 2003/11/30 16:18:08 |
|---|---|
| Line 1 | Line 1 |
| #ifndef NP2_X11_COMPILER_H__ | #ifndef NP2_X11_COMPILER_H__ |
| #define NP2_X11_COMPILER_H__ | #define NP2_X11_COMPILER_H__ |
| #ifdef WORDS_BIGENDIAN | |
| #define BYTESEX_BIG | |
| #else /* !WORDS_BIGENDIAN */ | |
| #define BYTESEX_LITTLE | |
| #endif /* WORDS_BIGENDIAN */ | |
| #if defined(USE_NETBSDAUDIO) && !defined(__NetBSD__) | #if defined(USE_NETBSDAUDIO) && !defined(__NetBSD__) |
| #undef USE_NETBSDAUDIO | #undef USE_NETBSDAUDIO |
| #endif | #endif |
| Line 13 | Line 19 |
| #undef NOSOUND | #undef NOSOUND |
| #endif /* !USE_NETBSDAUDIO && !USE_OSSAUDIO && !USE_ESDAUDIO && !USE_SDLAUDIO && !USE_SDMIXER */ | #endif /* !USE_NETBSDAUDIO && !USE_OSSAUDIO && !USE_ESDAUDIO && !USE_SDLAUDIO && !USE_SDMIXER */ |
| #ifdef WORDS_BIGENDIAN | |
| #define BYTESEX_BIG | |
| #else /* !WORDS_BIGENDIAN */ | |
| #define BYTESEX_LITTLE | |
| #endif /* WORDS_BIGENDIAN */ | |
| #if defined(NOSOUND) | #if defined(NOSOUND) |
| #undef VERMOUTH_LIB | #undef VERMOUTH_LIB |
| Line 47 | Line 47 |
| #include <unistd.h> | #include <unistd.h> |
| #define X11 | #define X11 |
| #define OSLANG_EUC | |
| #define OSLINEBREAK_LF | |
| typedef signed char CHAR; | typedef signed char CHAR; |
| typedef signed short SHORT; | typedef signed short SHORT; |
| Line 130 UINT32 gettick(); | Line 132 UINT32 gettick(); |
| #define GETRAND() random() | #define GETRAND() random() |
| #define SPRINTF sprintf | #define SPRINTF sprintf |
| #if defined(i386) || defined(__i386__) | |
| #undef MEMOPTIMIZE | |
| #elif defined(arm) || defined (__arm__) | |
| #define MEMOPTIMIZE 2 | |
| #else | |
| #define MEMOPTIMIZE 1 | #define MEMOPTIMIZE 1 |
| #endif | |
| #define SUPPORT_EUC | |
| #define SUPPORT_8BPP | #define SUPPORT_8BPP |
| #define SUPPORT_24BPP | #define SUPPORT_24BPP |
| Line 138 UINT32 gettick(); | Line 148 UINT32 gettick(); |
| #define SUPPORT_32BPP | #define SUPPORT_32BPP |
| #define SUPPORT_NORMALDISP | #define SUPPORT_NORMALDISP |
| #if defined(USE_GTK) | |
| #define SUPPORT_KEYDISP | |
| #endif | |
| /* | /* |
| * You could specify a complete path, e.g. "/etc/timidity.cfg", and | * You could specify a complete path, e.g. "/etc/timidity.cfg", and |
| * then specify the library directory in the configuration file. | * then specify the library directory in the configuration file. |
| */ | */ |
| #ifndef TIMIDITY_CFGFILE_PATH | |
| #define TIMIDITY_CFGFILE_PATH "timidity.cfg" | |
| #endif | |
| extern char timidity_cfgfile_path[MAX_PATH]; | extern char timidity_cfgfile_path[MAX_PATH]; |
| #define TIMIDITY_CFGFILE timidity_cfgfile_path | #define TIMIDITY_CFGFILE timidity_cfgfile_path |