mirror of
https://github.com/freebsd/freebsd-src
synced 2024-10-15 12:54:27 +00:00
Guard definitions for use with C++ code.
Submitted by: Ed Hall <edhall@yahoo-inc.com>
This commit is contained in:
parent
00e1854a1f
commit
08d68d18e0
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=98415
|
@ -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 a new issue