Address bug #8632. Solaris has unsetenv(), so no need to condition it out.

This commit is contained in:
Eric S. Raymond 2007-09-18 00:40:40 +00:00
parent 7d08663795
commit 9c0b77e660

View file

@ -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)