From 95ebfc37274085b5a5875e3160f0d75ef3aad05c Mon Sep 17 00:00:00 2001 From: Joshua Granick Date: Fri, 19 May 2023 23:09:25 -0700 Subject: [PATCH] Compile fix for Emscripten --- src/hx/libs/std/Sys.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/hx/libs/std/Sys.cpp b/src/hx/libs/std/Sys.cpp index 2aec46aaf..30ad2e29c 100644 --- a/src/hx/libs/std/Sys.cpp +++ b/src/hx/libs/std/Sys.cpp @@ -172,7 +172,7 @@ bool _hx_std_set_time_locale( String l ) freelocale(old); return true; #else - #ifdef HX_SMART_STRINGS + #if defined(NEKO_WINDOWS) && defined(HX_SMART_STRINGS) if (l.isUTF16Encoded()) return _wsetlocale(LC_TIME,l.wchar_str()); #endif