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:
2024-10-06 23:42:25 +03:00
parent fdc7ccc94d
commit 5d2b212d48

View File

@@ -14,9 +14,11 @@ typedef unsigned long long int u64;
typedef float f32;
typedef double f64;
#if !defined(__cplusplus)
typedef _Bool bool;
#define true 1
#define false 0
#endif
#define i8_const(v) (i8){v}
#define i16_const(v) (i16){v}