1 /* Boolean type and values <stdbool.h>
2 
3    This file is part of the Public Domain C Library (PDCLib).
4    Permission is granted to use, modify, and / or redistribute at will.
5 */
6 
7 #ifndef _PDCLIB_STDBOOL_H
8 #define _PDCLIB_STDBOOL_H _PDCLIB_STDBOOL_H
9 
10 #ifndef __cplusplus
11 #define bool                          _Bool
12 #define true                          1
13 #define false                         0
14 #endif
15 #define __bool_true_false_are_defined 1
16 
17 /* Extension hook for downstream projects that want to have non-standard
18    extensions to standard headers.
19 */
20 #ifdef _PDCLIB_EXTEND_STDBOOL_H
21 #include _PDCLIB_EXTEND_STDBOOL_H
22 #endif
23 
24 #endif
25