home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Fresh Fish 8
/
FreshFishVol8-CD1.bin
/
gnu
/
lib
/
g++-include
/
bool.h
< prev
next >
Wrap
C/C++ Source or Header
|
1994-12-22
|
450b
|
25 lines
// Defining TRUE and FALSE is usually a Bad Idea,
// because you will probably be inconsistent with anyone
// else who had the same clever idea.
// Therefore: DON'T USE THIS FILE.
#ifndef _bool_h
#define _bool_h 1
#include <_G_config.h>
#if _G_HAVE_BOOL
#undef TRUE
#undef FALSE
#define TRUE true
#define FALSE false
#else
#undef FALSE
#undef TRUE
#undef true
#undef false
enum bool { FALSE = 0, false = 0, TRUE = 1, true = 1 };
#endif
#endif