Some C++ compat.

This commit is contained in:
2024-04-24 15:52:31 -04:00
parent 96fb179e4b
commit 048e97450e
+2
View File
@@ -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 */