home *** CD-ROM | disk | FTP | other *** search
- // 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
-