From 6a18fa77feb62ceca1200e5d84611ab1fc98063f Mon Sep 17 00:00:00 2001 From: Ladislav Zezula Date: Mon, 24 Nov 2025 12:29:35 +0100 Subject: #included stdbool.h when necessary --- src/StormPort.h | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) (limited to 'src') diff --git a/src/StormPort.h b/src/StormPort.h index 1ce1d18..61affcd 100644 --- a/src/StormPort.h +++ b/src/StormPort.h @@ -27,12 +27,9 @@ #ifndef __STORMPORT_H__ #define __STORMPORT_H__ -// This is probably no longer needed. If someone uses a platform which doesn't support 'bool' natively, let me know. -//#ifndef __cplusplus -// #define bool char -// #define true 1 -// #define false 0 -//#endif +#if !defined(__cplusplus) && !defined(_MSC_VER) + #include +#endif //----------------------------------------------------------------------------- // Defines for Windows -- cgit v1.2.3