add a missing section header table index conversion
[tangerine.git] / compiler / clib / include / stdbool.h
blob57d76d27de97f60a54b40235d7feb392d78db146
1 #ifndef _STDBOOL_H_
2 #define _STDBOOL_H_
4 /*
5 Copyright © 1995-2001, The AROS Development Team. All rights reserved.
6 $Id$
8 Boolean type and values.
10 C99 defines a new basic type _Bool, which is a boolean type.
11 However we need to check whether it exists or not.
14 /* People are allowed to define their own versions of these */
15 #undef bool
16 #undef true
17 #undef false
18 #undef __bool_true_false_are_defined
20 /* These are the C99 definitions */
21 #define bool _Bool
22 #define true 1
23 #define false 0
24 #define __bool_true_false_are_defined 1
26 /* This is to make _Bool a real type if this isn't C99 or GCC v3+ */
27 #if __STDC_VERSION__ < 199901L && (!defined __GNUC__ || __GNUC__ < 3)
28 typedef int _Bool;
29 #endif
31 #endif /* _STDBOOL_H_ */