summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSaikari <[email protected]>2026-01-17 19:15:51 +0300
committerSaikari <[email protected]>2026-01-17 19:15:51 +0300
commite075b6cd6c49b28cd595f7f0db8907c27fb0ef28 (patch)
treef1e75fe922c103130c3e09169a76cf1b0dba97a9
parent769cd6b401b4f33790d5361c2eb16aa3aac8fa1c (diff)
fixup
-rw-r--r--core/src/xmake/string/case.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/core/src/xmake/string/case.c b/core/src/xmake/string/case.c
index 06b98de41..0bdef51a3 100644
--- a/core/src/xmake/string/case.c
+++ b/core/src/xmake/string/case.c
@@ -42,9 +42,6 @@
# include <xlocale.h>
# elif defined(__NetBSD__)
# include <string.h>
-# endif
-#endif
-
/* //////////////////////////////////////////////////////////////////////////////////////
* globals
*/
@@ -54,6 +51,9 @@
* setlocale() is not thread-safe on Windows or Linux, so we protect it globally.
*/
static tb_spinlock_t g_locale_lock = TB_SPINLOCK_INIT;
+# endif
+#endif
+
/* //////////////////////////////////////////////////////////////////////////////////////
* private implementation