BOOLEAN definition

This commit is contained in:
h_vogt 2008-04-13 12:46:36 +00:00
parent dc584ddfef
commit 8ed853345e
3 changed files with 6 additions and 0 deletions

View File

@ -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

View File

@ -3,6 +3,7 @@
typedef unsigned char bool;
#define BOOLEAN int
#define TRUE 1
#define FALSE 0
#define NO 0

View File

@ -45,6 +45,7 @@
#if (!defined HAS_WINDOWS) && (!defined __MINGW32__)
#include <dlfcn.h> /* to load libraries*/
#else /* ifdef HAS_WINDOWS */
#undef BOOLEAN
#include <windows.h>
#ifdef HAS_WINDOWS
#include "wstdio.h"