diff options
Diffstat (limited to 'sal/osl/unx/nlsupport.c')
-rw-r--r-- | sal/osl/unx/nlsupport.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sal/osl/unx/nlsupport.c b/sal/osl/unx/nlsupport.c index dcee27c8d..563aae980 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 <pthread.h> -#ifndef MACOSX +#if !defined(MACOSX) && !defined(IOS) #include <locale.h> #include <langinfo.h> #else #include <osl/module.h> #include <osl/thread.h> -#endif /* !MACOSX */ +#endif /* !MACOSX && !IOS */ #endif /* LINUX || SOLARIS || NETBSD || MACOSX || IOS */ #include <string.h> @@ -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 */ |