Some C++ compat.
This commit is contained in:
@@ -103,9 +103,11 @@ extern "C" {
|
||||
#ifndef HAVE__BOOL
|
||||
typedef unsigned char _Bool;
|
||||
#endif /* HAVE_BOOL */
|
||||
#ifndef __cplusplus
|
||||
#define bool _Bool
|
||||
#define true 1
|
||||
#define false 0
|
||||
#endif
|
||||
#define __bool_true_false_are_defined
|
||||
#endif /* __bool_true_false_are_defined */
|
||||
|
||||
|
||||
Reference in New Issue
Block a user