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
6#define bool _Bool6#define bool _Bool
7#define true 17#define true 1
8#define false 08#define false 0
9#define __bool_true_false_are_defined 1
9 10
10#endif /* _STDBOOL_H */11#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