summaryrefslogtreecommitdiff
path: root/unotools/source
diff options
context:
space:
mode:
authorjan Iversen <jani@libreoffice.org>2018-03-02 12:56:48 +0100
committerjan Iversen <jani@libreoffice.org>2018-03-02 12:57:29 +0100
commit6b8a3ab2108480a2d23ad91ef30418f8f831cf8c (patch)
tree8264b15656daa95fb29eb3f70a099fb34da4ebb6 /unotools/source
parent1e034575584930c5bfb57838383ac2cf151c1b92 (diff)
iOS, added same limitations as MACOSX
Change-Id: Ic8490fcea37221f580734e7764e90bb21c9cc28f
Diffstat (limited to 'unotools/source')
-rw-r--r--unotools/source/i18n/resmgr.cxx4
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);