Fixed compilation error when ev_internal.h is included in a cpp file
Signed-off-by: Robear Selwans <robear.selwans@outlook.com>
This commit is contained in:
@@ -14,9 +14,11 @@ typedef unsigned long long int u64;
|
|||||||
typedef float f32;
|
typedef float f32;
|
||||||
typedef double f64;
|
typedef double f64;
|
||||||
|
|
||||||
|
#if !defined(__cplusplus)
|
||||||
typedef _Bool bool;
|
typedef _Bool bool;
|
||||||
#define true 1
|
#define true 1
|
||||||
#define false 0
|
#define false 0
|
||||||
|
#endif
|
||||||
|
|
||||||
#define i8_const(v) (i8){v}
|
#define i8_const(v) (i8){v}
|
||||||
#define i16_const(v) (i16){v}
|
#define i16_const(v) (i16){v}
|
||||||
|
|||||||
Reference in New Issue
Block a user