summaryrefslogtreecommitdiffstats
path: root/include/sal
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2018-01-18 12:01:37 +0100
committerStephan Bergmann <sbergman@redhat.com>2018-01-18 23:08:20 +0100
commit022588bf2060a53ae70db6b0f1de713e4ba3ee6a (patch)
tree0a3c4e17e1c232975f2dde8cc60adfdfa458301f /include/sal
parentResolves: rhbz#1535541 fdo#88004 mimetypes are .macroEnabled not .macroenabled (diff)
downloadcore-022588bf2060a53ae70db6b0f1de713e4ba3ee6a.tar.gz
core-022588bf2060a53ae70db6b0f1de713e4ba3ee6a.zip
Include android/compatibility.hxx from ubiquitous sal/config.h
...instead of having to add it to more and more individual .cxx files, as the need arises. Change-Id: If1e893c79abf1c1bb7fb7b89dcb9bd423a7f1b94 Reviewed-on: https://gerrit.libreoffice.org/48108 Reviewed-by: Stephan Bergmann <sbergman@redhat.com> Tested-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'include/sal')
-rw-r--r--include/sal/config.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/sal/config.h b/include/sal/config.h
index 31c19a34a18b..7fcdbfab45ad 100644
--- a/include/sal/config.h
+++ b/include/sal/config.h
@@ -22,6 +22,9 @@
#if defined LIBO_INTERNAL_ONLY
#include "config_global.h"
+#if defined ANDROID && defined __cplusplus
+#include <android/compatibility.hxx>
+#endif
#endif
#include <stdlib.h>