diff --git a/ChangeLog b/ChangeLog index 270b85761..36eef8c21 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2008-04-13 Holger Vogt + * src/include/bool.h: BOOLEAN definition added again + src/spicelib/devices/dev.c: #undef BOOLEAN added + 2008-04-05 Dietmar Warning * src/frontend/inpcom.c: define the missing buffer nam_buf for mos devices * src/misc/string.c, stringutil.h: moving some string functions from inpcom.c diff --git a/src/include/bool.h b/src/include/bool.h index 80e7030a9..8744cb49d 100644 --- a/src/include/bool.h +++ b/src/include/bool.h @@ -3,6 +3,7 @@ typedef unsigned char bool; +#define BOOLEAN int #define TRUE 1 #define FALSE 0 #define NO 0 diff --git a/src/spicelib/devices/dev.c b/src/spicelib/devices/dev.c index 4f0b9d67e..eb973b6e5 100644 --- a/src/spicelib/devices/dev.c +++ b/src/spicelib/devices/dev.c @@ -45,6 +45,7 @@ #if (!defined HAS_WINDOWS) && (!defined __MINGW32__) #include /* to load libraries*/ #else /* ifdef HAS_WINDOWS */ +#undef BOOLEAN #include #ifdef HAS_WINDOWS #include "wstdio.h"