File tree Expand file tree Collapse file tree 2 files changed +6
-1
lines changed Expand file tree Collapse file tree 2 files changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -75,3 +75,5 @@ License Link:
75
75
opensource.org/licenses/BSD-3-Clause
76
76
77
77
Patch List:
78
+ * Avoid bool redefinition
79
+ Impacted files: inc/basetype.h
Original file line number Diff line number Diff line change @@ -79,6 +79,8 @@ typedef enum {
79
79
80
80
#else /* __symbian__ or __win__ or whatever, customize it to suit well */
81
81
82
+ #include <stdbool.h>
83
+
82
84
#ifndef _SIZE_T_DEFINED
83
85
typedef uint32_t size_t ;
84
86
@@ -104,13 +106,14 @@ typedef int32_t i32;
104
106
typedef uint64_t u64 ;
105
107
typedef int64_t i64 ;
106
108
107
-
109
+ #if 0 /** PATCH: avoid bool redefinition */
108
110
#ifndef __cplusplus
109
111
typedef enum {
110
112
false = 0 ,
111
113
true = 1
112
114
} bool ;
113
115
#endif
116
+ #endif /* ENDOF PATCH */
114
117
115
118
#endif
116
119
You can’t perform that action at this time.
0 commit comments