mirror of
https://github.com/frida/tinycc
synced 2025-02-19 08:44:03 +03:00

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 */
|