mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 462914: Test for setlocale at configure time in js/src r=crowder
This commit is contained in:
parent
b3a9d80456
commit
41e717de51
@ -5044,6 +5044,12 @@ for lib_arg in $NSPR_LIBS $TK_LIBS; do
|
||||
done
|
||||
AC_SUBST(LIBS_PATH)
|
||||
|
||||
dnl ========================================================
|
||||
dnl JavaScript shell
|
||||
dnl ========================================================
|
||||
|
||||
AC_HAVE_FUNCS(setlocale)
|
||||
|
||||
dnl ========================================================
|
||||
dnl Use cygwin wrapper for win32 builds, except MSYS/MinGW
|
||||
dnl ========================================================
|
||||
|
@ -3973,7 +3973,7 @@ main(int argc, char **argv, char **envp)
|
||||
#endif /* JSDEBUGGER */
|
||||
|
||||
CheckHelpMessages();
|
||||
#ifndef WINCE
|
||||
#ifdef HAVE_SETLOCALE
|
||||
setlocale(LC_ALL, "");
|
||||
#endif
|
||||
gStackBase = (jsuword)&stackDummy;
|
||||
|
Loading…
Reference in New Issue
Block a user