diff options
author | jan Iversen <jani@libreoffice.org> | 2018-03-02 12:56:48 +0100 |
---|---|---|
committer | jan Iversen <jani@libreoffice.org> | 2018-03-02 12:57:29 +0100 |
commit | 6b8a3ab2108480a2d23ad91ef30418f8f831cf8c (patch) | |
tree | 8264b15656daa95fb29eb3f70a099fb34da4ebb6 /unotools/source | |
parent | 1e034575584930c5bfb57838383ac2cf151c1b92 (diff) |
iOS, added same limitations as MACOSX
Change-Id: Ic8490fcea37221f580734e7764e90bb21c9cc28f
Diffstat (limited to 'unotools/source')
-rw-r--r-- | unotools/source/i18n/resmgr.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/unotools/source/i18n/resmgr.cxx b/unotools/source/i18n/resmgr.cxx index 61c681f63ff9..d27245156493 100644 --- a/unotools/source/i18n/resmgr.cxx +++ b/unotools/source/i18n/resmgr.cxx @@ -36,7 +36,7 @@ #include <string.h> #include <stdio.h> #include <stdlib.h> -#if defined UNX && !defined MACOSX +#if defined UNX && !defined MACOSX && !defined IOS # include <libintl.h> #endif @@ -119,7 +119,7 @@ namespace Translate osl::File::getSystemPathFromFileURL(uri, path); OString sPath(OUStringToOString(path, osl_getThreadTextEncoding())); gen.add_messages_path(sPath.getStr()); -#if defined UNX && !defined MACOSX +#if defined UNX && !defined MACOSX && !defined IOS bindtextdomain(pPrefixName, sPath.getStr()); #endif gen.add_messages_domain(pPrefixName); |