]> pd.if.org Git - pdclib/blob - includes/stdbool.h
Minor doc extension.
[pdclib] / includes / stdbool.h
1 // ----------------------------------------------------------------------------
2 // $Id$
3 // ----------------------------------------------------------------------------
4 // Public Domain C Library - http://pdclib.sourceforge.net
5 // This code is Public Domain. Use, modify, and redistribute at will.
6 // ----------------------------------------------------------------------------
7 // Boolean type and values
8 // ----------------------------------------------------------------------------
9
10 #ifndef __STDBOOL_H
11 #define __STDBOOL_H __STDBOOL_H
12
13 // ----------------------------------------------------------------------------
14 // MACROS
15
16 #define __bool_true_false_are_defined 1
17
18 #ifndef __cplusplus
19
20 #define bool  _Bool
21 #define false 0
22 #define true  1
23
24 // ----------------------------------------------------------------------------
25 // TYPEDEFS
26
27 typedef int bool;
28
29 #endif // __cplusplus
30
31 #endif // __STDBOOL_H