disable bool definition if it is defined already

This commit is contained in:
Timerix 2025-07-24 12:55:53 +03:00
parent a9fa42c23f
commit 2dd6316b7b

View File

@ -23,7 +23,7 @@ typedef float f32;
typedef double f64;
typedef void* ptr;
#if !__cplusplus
#if !__cplusplus && !defined(bool)
typedef u8 bool;
#define true 1
#define false 0