Address bug #8632. Solaris has unsetenv(), so no need to condition it out.
This commit is contained in:
parent
7d08663795
commit
9c0b77e660
1 changed files with 0 additions and 2 deletions
|
@ -119,12 +119,10 @@ static void wesnoth_setlocale(int category, std::string const &slocale,
|
|||
// LANGUAGE overrides other settings, so for now just get rid of it
|
||||
// FIXME: add configure check for unsetenv
|
||||
#ifndef _WIN32
|
||||
#ifndef SOLARIS
|
||||
#ifndef __AMIGAOS4__
|
||||
unsetenv ("LANGUAGE"); // void so no return value to check
|
||||
#endif
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#ifdef __BEOS__
|
||||
if(setenv ("LANG", locale, 1) == -1)
|
||||
|
|
Loading…
Add table
Reference in a new issue