Guard definitions for use with C++ code.
Submitted by: Ed Hall <edhall@yahoo-inc.com>
This commit is contained in:
parent
6c0c1a3de3
commit
1da636b9f4
@ -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…
Reference in New Issue
Block a user