summaryrefslogtreecommitdiff
path: root/sal/osl
diff options
context:
space:
mode:
Diffstat (limited to 'sal/osl')
-rw-r--r--sal/osl/all/log.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sal/osl/all/log.cxx b/sal/osl/all/log.cxx
index ad81c836bb8c..6106ac34fe09 100644
--- a/sal/osl/all/log.cxx
+++ b/sal/osl/all/log.cxx
@@ -51,7 +51,7 @@
#if defined WNT
#include <process.h>
#define OSL_DETAIL_GETPID _getpid()
-#else
+#elif !defined ANDROID
#include <unistd.h>
#define OSL_DETAIL_GETPID getpid()
#endif