mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04: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
1 changed files with 4 additions and 0 deletions
|
|
@ -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