summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNorbert Thiebaud <nthiebaud@gmail.com>2011-04-15 09:07:52 -0500
committerNorbert Thiebaud <nthiebaud@gmail.com>2011-04-15 09:07:52 -0500
commit84359b04afdf56cbb4da040d6a3a682d20fd4d59 (patch)
tree5bac18a884cfb734575f668ed71786eaec66d782
parente75d09e4e89d3eda7ddaa2c085678edf9a21293f (diff)
fix MacOSX breakage due to e75d09e4e89d3eda7ddaa2c085678edf9a21293f
it is presumed here that Supported Unix platform are also Posix compliant.
-rw-r--r--sal/osl/unx/nlsupport.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/sal/osl/unx/nlsupport.c b/sal/osl/unx/nlsupport.c
index 07d2869a0..a52874230 100644
--- a/sal/osl/unx/nlsupport.c
+++ b/sal/osl/unx/nlsupport.c
@@ -945,17 +945,13 @@ void _imp_getProcessLocale( rtl_Locale ** ppLocale )
static int
_setenv (const char* name, const char* value)
{
-#if defined( AIX )
return setenv (name, value, 1);
-#else
- return setenv (name, value);
-#endif
}
int _imp_setProcessLocale( rtl_Locale * pLocale )
{
char locale_buf[64];
-
+
/* convert rtl_Locale to locale string */
if( NULL != _compose_locale( pLocale, locale_buf, 64 ) )
{