summaryrefslogtreecommitdiff
path: root/unotools
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2018-03-02 16:38:07 +0100
committerStephan Bergmann <sbergman@redhat.com>2018-03-02 16:38:07 +0100
commit01f3d84963fc6ff96c50179bdf67c6888da7bf01 (patch)
treef42b51755c00038974eb0258cdf0bba821c1cc94 /unotools
parentccc977ba10b61108a56e00a79c0f7a1517e026cc (diff)
Blind build fix for Android
Change-Id: Ic1ad524d533d3e27d59dacc3f1233de3e4e3e0dc
Diffstat (limited to 'unotools')
-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 d27245156493..9e0b8f02577b 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 && !defined IOS
+#if defined UNX && !defined MACOSX && !defined IOS && !defined ANDROID
# 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 && !defined IOS
+#if defined UNX && !defined MACOSX && !defined IOS && !defined ANDROID
bindtextdomain(pPrefixName, sPath.getStr());
#endif
gen.add_messages_domain(pPrefixName);