syslinux-3.08-2 sources from FC4
[bootcd.git] / syslinux / com32 / include / stdbool.h
1 /*
2  * $Id: stdbool.h,v 1.1 2003/04/16 06:32:31 hpa Exp $
3  *
4  * stdbool.h
5  */
6
7 #ifndef _STDBOOL_H
8 #define _STDBOOL_H
9
10 #ifndef __cplusplus
11
12 #if !defined(__STDC_VERSION__) || (__STDC_VERSION__ < 199901L)
13 # if !defined(__GNUC__) ||(__GNUC__ < 3)
14   typedef char _Bool;           /* For C compilers without _Bool */
15 # endif
16 #endif
17
18 #define bool  _Bool
19 #define true  1
20 #define false 0
21
22 #else
23
24 /* C++ */
25 #define bool  bool
26 #define true  true
27 #define false false
28
29 #endif
30
31 #define __bool_true_false_are_defined 1
32
33 #endif /* _STDBOOL_H */