Guard definitions for use with C++ code.
Submitted by: Ed Hall <edhall@yahoo-inc.com>
This commit is contained in:
parent
00e1854a1f
commit
08d68d18e0
@ -31,6 +31,8 @@
|
||||
|
||||
#define __bool_true_false_are_defined 1
|
||||
|
||||
#ifndef __cplusplus
|
||||
|
||||
#define false 0
|
||||
#define true 1
|
||||
|
||||
@ -39,4 +41,6 @@
|
||||
typedef int _Bool;
|
||||
#endif
|
||||
|
||||
#endif /* !__cplusplus */
|
||||
|
||||
#endif /* !_STDBOOL_H_ */
|
||||
|
Loading…
x
Reference in New Issue
Block a user