[Libreoffice-commits] .: Branch 'libreoffice-3-4' - sal/osl

Norbert Thiebaud nthiebaud at kemper.freedesktop.org
Fri Apr 15 07:08:22 PDT 2011


 sal/osl/unx/nlsupport.c |    6 +-----
 1 file changed, 1 insertion(+), 5 deletions(-)

New commits:
commit 84359b04afdf56cbb4da040d6a3a682d20fd4d59
Author: Norbert Thiebaud <nthiebaud at gmail.com>
Date:   Fri Apr 15 09:07:52 2011 -0500

    fix MacOSX breakage due to e75d09e4e89d3eda7ddaa2c085678edf9a21293f
    
    it is presumed here that Supported Unix platform are also Posix compliant.

diff --git a/sal/osl/unx/nlsupport.c b/sal/osl/unx/nlsupport.c
index 07d2869..a528742 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 ) )
     {


More information about the Libreoffice-commits mailing list