Commit | Line | Data |
---|---|---|
70b0d280 EZ |
1 | #ifndef _NT_STDBOOL_H_ |
2 | #define _NT_STDBOOL_H_ | |
3 | /* | |
4 | * stdbool.h exists in GCC, but not in MSVC. | |
5 | */ | |
6 | ||
7 | #ifdef __GNUC__ | |
8 | # include_next <stdbool.h> | |
9 | #else | |
10 | # define _Bool signed char | |
11 | # define bool _Bool | |
12 | # define false 0 | |
13 | # define true 1 | |
14 | #endif | |
15 | ||
16 | #endif /* _NT_STDBOOL_H_ */ |