Skip to content

Commit

Permalink
Compile fix for Emscripten
Browse files Browse the repository at this point in the history
  • Loading branch information
Joshua Granick committed May 20, 2023
1 parent c3e5ab8 commit 95ebfc3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/hx/libs/std/Sys.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 95ebfc3

Please sign in to comment.