summaryrefslogtreecommitdiff
path: root/include/libc/stdbool.h
blob: 045c90a5e9dd08832dd2dc00b54310aac403e04b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#ifndef STDBOOL_H
#define STDBOOL_H

#define __bool_true_false_are_defined 1

#ifndef __cplusplus

#if (__STDC_VERSION__ >= 199901L)
#define bool    _Bool
#else
#define bool    unsigned int
#endif

#define false   0
#define true    1

#endif

#endif