From 037cb1f82cc3b07eae4b73c00d07702821c5e263 Mon Sep 17 00:00:00 2001 From: Simon Rozman Date: Fri, 10 Oct 2025 13:32:27 +0200 Subject: [PATCH] Fix to compile with Xcode 13 Signed-off-by: Simon Rozman --- include/stdex/compat.hpp | 3 ++- include/stdex/string.hpp | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/include/stdex/compat.hpp b/include/stdex/compat.hpp index 4717bd2f1..280406dd0 100644 --- a/include/stdex/compat.hpp +++ b/include/stdex/compat.hpp @@ -10,7 +10,8 @@ #include "windows.h" #include #include -#else +#endif +#if __has_include() #include #endif #include diff --git a/include/stdex/string.hpp b/include/stdex/string.hpp index f70af44c9..b490f9f31 100644 --- a/include/stdex/string.hpp +++ b/include/stdex/string.hpp @@ -14,7 +14,7 @@ #include #include #include -#ifdef _WIN32 +#if __has_include() #include #endif #ifdef __APPLE__