History

stdbool.h: Make conformant to ISOC99

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.

Michael Matz committed 12 years ago

Commit f0137371 parent 0961a381 file · +1 −0Browse files

Unified · Split

include/stdbool.h+1−0
@@ -6,5 +6,6 @@ · 5 unmodified lines
66 #define bool _Bool
77 #define true 1
88 #define false 0
9+#define __bool_true_false_are_defined 1
910
1011 #endif /* _STDBOOL_H */

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t