- check for the validity of BX_USE_IDLE_HACK moved after the gui definition

This commit is contained in:
Volker Ruppert 2002-01-27 09:24:08 +00:00
parent 4ed537308c
commit 8bf4e10948
1 changed files with 10 additions and 7 deletions

View File

@ -191,14 +191,10 @@
#define BX_HAVE_NANOSLEEP 0 #define BX_HAVE_NANOSLEEP 0
#define BX_HAVE_ABORT 0 #define BX_HAVE_ABORT 0
// This turns on Roland Mainz's idle hack. Presently it is specific to // This turns on Roland Mainz's idle hack. Presently it is specific to the X11
// X windows. If people try to enable it elsewhere, give a compile error // gui. If people try to enable it elsewhere, give a compile error after the
// so that they don't waste their time trying. // gui definition so that they don't waste their time trying.
#define BX_USE_IDLE_HACK 0 #define BX_USE_IDLE_HACK 0
#if (BX_USE_IDLE_HACK && !BX_WITH_X11)
# error IDLE_HACK will only work with the X11 gui. Correct configure args and retry.
#endif
// Use Static Member Funtions to eliminate 'this' pointer passing // Use Static Member Funtions to eliminate 'this' pointer passing
// If you want the efficiency of 'C', you can make all the // If you want the efficiency of 'C', you can make all the
@ -339,6 +335,13 @@
#define BX_WITH_AMIGAOS 0 #define BX_WITH_AMIGAOS 0
// Roland Mainz's idle hack is presently specific to X11. If people try to
// enable it elsewhere, give a compile error so that they don't waste their
// time trying.
#if (BX_USE_IDLE_HACK && !BX_WITH_X11)
# error IDLE_HACK will only work with the X11 gui. Correct configure args and retry.
#endif
#define WORDS_BIGENDIAN 0 #define WORDS_BIGENDIAN 0
#define SIZEOF_UNSIGNED_CHAR 0 #define SIZEOF_UNSIGNED_CHAR 0