Main Page | Alphabetical List | Class List | File List | Class Members | File Members

stdbool.h

Go to the documentation of this file.
00001 /*--------------------------------------------------------
00002  * /
00003  * / apeNEXT stdbool definitions for nlcc
00004  * /
00005  * / $Id: stdbool.h,v 1.10 2005/06/08 14:06:53 pleiter Exp $
00006  * /
00007  * /
00008  * / ISO/IEC 9899:1999 (E) Standard
00009  * / Bool Definitions  <stdbool.h>
00010  * /
00011  * /
00012  * / IMPLEMENTATION for APEnext: possible      (stdbool.h)  
00013  * /-----------------------------------------------------*/
00014 
00015 #ifndef _STDBOOL_H
00016 #define _STDBOOL_H
00017 
00018 #include <nlibc.h>
00019 
00020 //#include <>
00021 #ifdef false
00022 #  undef false
00023 #endif
00024 #ifdef true
00025 #  undef true
00026 #endif
00027 #ifdef __bool_true_false_are_defined
00028 #  undef __bool_true_false_are_defined
00029 #endif
00030 #ifdef bool
00031 #  undef bool
00032 #endif
00033 
00034 //typedef enum { _Bool_must_promote_to_int = -1, false, true} _Bool;
00035 
00036 typedef int _Bool; 
00037 
00038 #define bool  _Bool 
00039 #define false 0
00040 #define true  1
00041 #define __bool_true_false_are_defined 1
00042 
00043 
00044 #endif /* ifndef _STDBOOL_H  */
00045 
00046 
00047 

Generated on Fri Jul 14 10:51:31 2006 for nlibc by doxygen 1.3.5