Skip to content

Commit ce5e74e

Browse files
committed
lib: vc8000nanoe: avoid bool redefinition
Avoid bool redefinition. Signed-off-by: Hugues Fruchet <[email protected]>
1 parent c7a2f5f commit ce5e74e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lib/vc8000nanoe/inc/basetype.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,13 +104,14 @@ typedef int32_t i32;
104104
typedef uint64_t u64;
105105
typedef int64_t i64;
106106

107-
107+
#ifndef true
108108
#ifndef __cplusplus
109109
typedef enum {
110110
false = 0,
111111
true = 1
112112
} bool;
113113
#endif
114+
#endif
114115

115116
#endif
116117

0 commit comments

Comments
 (0)