summaryrefslogtreecommitdiff
path: root/sal
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2013-03-27 11:06:28 +0100
committerStephan Bergmann <sbergman@redhat.com>2013-03-27 11:06:28 +0100
commit3c2010e77ef70a99e4861192b0cb34de1f6ce61e (patch)
tree140f8a270f3eb839f2ab07447739669835642afa /sal
parent7f52bb5ed454c06978220ac0d0631348360b644d (diff)
-Werror=unused-macros (Android)
Change-Id: I7b88ff1a8c53fbb875d5cb84060c726fd7d06c9c
Diffstat (limited to 'sal')
-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