mirror of
https://github.com/frida/tinycc
synced 2024-12-23 21:46:49 +03:00
f01373765b
For conformance to ISO C the stdbool.h header has to provide the macro __bool_true_false_are_defined (defined to 1). Yep, that name is really in the standard.
12 lines
176 B
C
12 lines
176 B
C
#ifndef _STDBOOL_H
|
|
#define _STDBOOL_H
|
|
|
|
/* ISOC99 boolean */
|
|
|
|
#define bool _Bool
|
|
#define true 1
|
|
#define false 0
|
|
#define __bool_true_false_are_defined 1
|
|
|
|
#endif /* _STDBOOL_H */
|