initial load of upstream version 1.06.32
[xmlrpc-c] / lib / util / include / bool.h
1 /* This takes the place of C99 stdbool.h, which at least some Windows
2    compilers don't have.  (October 2005).
3
4    One must not also include <stdbool.h>, because it might cause a name
5    collision.
6 */
7
8 #ifndef __cplusplus
9 /* At least the GNU compiler defines __bool_true_false_are_defined */
10 #ifndef __bool_true_false_are_defined
11 #define __bool_true_false_are_defined
12 typedef enum {
13     false = 0,
14     true = 1
15 } bool;
16 #endif
17 #endif
18