From 7902d2aaee8f934410670f006b79bebba0f56fa5 Mon Sep 17 00:00:00 2001 From: Tor Lillqvist Date: Sun, 10 Jul 2011 14:36:16 +0300 Subject: iOS is much like MacOSX --- sal/osl/unx/nlsupport.c | 6 +++--- sal/osl/unx/osxlocale.cxx | 2 ++ 2 files changed, 5 insertions(+), 3 deletions(-) (limited to 'sal') diff --git a/sal/osl/unx/nlsupport.c b/sal/osl/unx/nlsupport.c index eb0068269620..fa796e62d93a 100644 --- a/sal/osl/unx/nlsupport.c +++ b/sal/osl/unx/nlsupport.c @@ -35,13 +35,13 @@ defined(FREEBSD) || defined(MACOSX) || defined(IOS) || defined(OPENBSD) || \ defined(DRAGONFLY) #include -#ifndef MACOSX +#if !defined(MACOSX) && !defined(IOS) #include #include #else #include #include -#endif /* !MACOSX */ +#endif /* !MACOSX && !IOS */ #endif /* LINUX || SOLARIS || NETBSD || MACOSX || IOS */ #include @@ -855,7 +855,7 @@ rtl_TextEncoding osl_getTextEncodingFromLocale( rtl_Locale * pLocale ) return RTL_TEXTENCODING_DONTKNOW; } -#ifdef MACOSX +#if defined(MACOSX) || defined(IOS) #include "system.h" /* OS X locale discovery function */ diff --git a/sal/osl/unx/osxlocale.cxx b/sal/osl/unx/osxlocale.cxx index c8bcc6dae756..78626d310da1 100644 --- a/sal/osl/unx/osxlocale.cxx +++ b/sal/osl/unx/osxlocale.cxx @@ -33,7 +33,9 @@ #include #include +#ifndef IOS #include +#endif #include #include -- cgit