Parent Directory
|
Revision Log
feat: add basic utilities and more system calls
1 | #ifndef PLIBC_STDBOOL_H |
2 | #define PLIBC_STDBOOL_H |
3 | |
4 | #if defined(_Bool) |
5 | # define bool _Bool |
6 | #elif defined(__bool_true_false_are_defined) |
7 | # define bool bool |
8 | #else |
9 | # define bool unsigned char |
10 | #endif |
11 | |
12 | #if !defined(__bool_true_false_are_defined) |
13 | # define true 1 |
14 | # define false 0 |
15 | # define __bool_true_false_are_defined 1 |
16 | #endif |
17 | |
18 | #endif /* PLIBC_STDBOOL_H */ |
[email protected] | ViewVC Help |
Powered by ViewVC 1.1.26 |