From 639af05392b3355087951b8dbf32eb29d1ebbf8c Mon Sep 17 00:00:00 2001 From: Simon Rozman Date: Wed, 31 Dec 2025 08:35:00 +0100 Subject: [PATCH] string: fix to compile with Xcode Signed-off-by: Simon Rozman --- include/stdex/string.hpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/include/stdex/string.hpp b/include/stdex/string.hpp index b490f9f31..6706b5c19 100644 --- a/include/stdex/string.hpp +++ b/include/stdex/string.hpp @@ -1107,6 +1107,7 @@ namespace stdex return 0; } +#ifdef _WIN32 /// /// Binary compare two strings /// @@ -1125,6 +1126,7 @@ namespace stdex reinterpret_cast(str1), count1, reinterpret_cast(str2), count2); } +#endif /// /// Binary compare two strings @@ -1142,6 +1144,7 @@ namespace stdex return strncmp(str1, N1, str2, N2); } +#ifdef _WIN32 /// /// Binary compare two strings /// @@ -1159,6 +1162,7 @@ namespace stdex reinterpret_cast(str1), N1, reinterpret_cast(str2), N2); } +#endif /// /// Binary compare two strings in reverse direction