Browse Source

BOOLEAN definition

pre-master-46
h_vogt 18 years ago
parent
commit
8ed853345e
  1. 4
      ChangeLog
  2. 1
      src/include/bool.h
  3. 1
      src/spicelib/devices/dev.c

4
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

1
src/include/bool.h

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

1
src/spicelib/devices/dev.c

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

Loading…
Cancel
Save