summaryrefslogtreecommitdiff
path: root/unotools/source
diff options
context:
space:
mode:
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);