blob: f370e01e92061abd0e9cdc60ba4da546e1acdd36 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
/*
* missing/stdbool.h: Quick alternative of C99 stdbool.h
*/
#ifndef _MISSING_STDBOOL_H_
#define _MISSING_STDBOOL_H_
#ifndef __bool_true_false_are_defined
# ifndef __cplusplus
# undef bool
# undef false
# undef true
# define bool signed char
# define false 0
# define true 1
# define __bool_true_false_are_defined 1
# endif
#endif
#endif /* _MISSING_STDBOOL_H_ */
|