Skip to content

Commit 95ebfc3

Browse files
author
Joshua Granick
committed
Compile fix for Emscripten
1 parent c3e5ab8 commit 95ebfc3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/hx/libs/std/Sys.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@ bool _hx_std_set_time_locale( String l )
172172
freelocale(old);
173173
return true;
174174
#else
175-
#ifdef HX_SMART_STRINGS
175+
#if defined(NEKO_WINDOWS) && defined(HX_SMART_STRINGS)
176176
if (l.isUTF16Encoded())
177177
return _wsetlocale(LC_TIME,l.wchar_str());
178178
#endif

0 commit comments

Comments
 (0)