Use glib to provide setenv()
(for some strange reason, setenv() is called putenv() on Windows!!)
This commit is contained in:
parent
7216a767df
commit
43a9ae7458
|
@ -280,9 +280,9 @@ int main (int argc, char *argv[])
|
|||
just calling setlocale (...,"C") is not sufficient for this;
|
||||
it is probably the LANG env var which gets picked up later somewhere.
|
||||
*/
|
||||
setenv ("LC_ALL", "C", 1);
|
||||
setenv ("LC_MESSAGES", "C", 1);
|
||||
setenv ("LANG", "C", 1);
|
||||
g_setenv ("LC_ALL", "C", 1);
|
||||
g_setenv ("LC_MESSAGES", "C", 1);
|
||||
g_setenv ("LANG", "C", 1);
|
||||
}
|
||||
#endif
|
||||
|
||||
|
|
Loading…
Reference in New Issue