f5e898f008519a4132e6d72e70f94099a825ae72
[pspp-builds.git] / src / bool.h
1 #ifndef BOOL_H
2 #define BOOL_H 1
3
4 #if HAVE_STDBOOL_H
5 # include <stdbool.h>
6 #else
7 # if ! HAVE__BOOL
8 #  ifdef __cplusplus
9 typedef bool _Bool;
10 #  else
11 typedef unsigned char _Bool;
12 #  endif
13 # endif
14 # define bool _Bool
15 # define false 0
16 # define true 1
17 # define __bool_true_false_are_defined 1
18 #endif
19
20 #endif /* bool.h */