From 8bf4e1094863afce98eb28a9d1daa6d35e00b033 Mon Sep 17 00:00:00 2001 From: Volker Ruppert Date: Sun, 27 Jan 2002 09:24:08 +0000 Subject: [PATCH] - check for the validity of BX_USE_IDLE_HACK moved after the gui definition --- bochs/config.h.in | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) diff --git a/bochs/config.h.in b/bochs/config.h.in index 92c13529c..9ae64c610 100644 --- a/bochs/config.h.in +++ b/bochs/config.h.in @@ -191,14 +191,10 @@ #define BX_HAVE_NANOSLEEP 0 #define BX_HAVE_ABORT 0 -// This turns on Roland Mainz's idle hack. Presently it is specific to -// X windows. If people try to enable it elsewhere, give a compile error -// so that they don't waste their time trying. +// This turns on Roland Mainz's idle hack. Presently it is specific to the X11 +// gui. If people try to enable it elsewhere, give a compile error after the +// gui definition so that they don't waste their time trying. #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 // If you want the efficiency of 'C', you can make all the @@ -339,6 +335,13 @@ #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 SIZEOF_UNSIGNED_CHAR 0