Misc updates to stdbool.h to improve resiliency

This commit is contained in:
mintsuki 2023-04-25 22:25:16 +02:00
parent dde6c83cd9
commit 7e14ea5ae2

View File

@ -7,12 +7,16 @@
#define __FSTD_HDRS_STDBOOL_H_MACROS 1
#ifndef __cplusplus
# undef bool
# define bool _Bool
# undef true
# define true 1
# undef false
# define false 0
#endif
#undef __bool_true_false_are_defined
#define __bool_true_false_are_defined 1
#endif