summaryrefslogtreecommitdiff
path: root/sal/osl/unx/process_impl.cxx
diff options
context:
space:
mode:
authorTor Lillqvist <tml@iki.fi>2012-09-14 14:07:29 +0300
committerTor Lillqvist <tlillqvist@suse.com>2012-09-14 14:15:48 +0300
commit225016198320a7e1d9a966de8e4ee357565e5b73 (patch)
tree9d8bc0e9e27ed492be156f7118749a2ccaa841a0 /sal/osl/unx/process_impl.cxx
parent0fb18d82742f704017768d342180e0bb2943c3aa (diff)
Adapt for DISABLE_DYNLOADING possibility on Android
Change-Id: I7fcea698c3d89c5b84b38a708502bcdf4526a614
Diffstat (limited to 'sal/osl/unx/process_impl.cxx')
-rw-r--r--sal/osl/unx/process_impl.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sal/osl/unx/process_impl.cxx b/sal/osl/unx/process_impl.cxx
index 817b0f6ab748..5225a63b8662 100644
--- a/sal/osl/unx/process_impl.cxx
+++ b/sal/osl/unx/process_impl.cxx
@@ -113,7 +113,7 @@ oslProcessError SAL_CALL osl_bootstrap_getExecutableFile_Impl (
{
oslProcessError result = osl_Process_E_NotFound;
-#ifdef ANDROID
+#if defined(ANDROID) && !defined(DISABLE_DYNLOADING)
/* On Android we in theory want the address of the "lo_main()"
* function, as that is what corresponds to "main()" in
* LibreOffice programs on normal desktop OSes.