From 2dd6316b7b1572a8956892ff91302cdc15898bcf Mon Sep 17 00:00:00 2001 From: Timerix Date: Thu, 24 Jul 2025 12:55:53 +0300 Subject: [PATCH] disable bool definition if it is defined already --- include/tlibc/std.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/tlibc/std.h b/include/tlibc/std.h index 6d04233..6b930b6 100755 --- a/include/tlibc/std.h +++ b/include/tlibc/std.h @@ -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