summaryrefslogtreecommitdiff
path: root/libs/utils/Threads.cpp
diff options
context:
space:
mode:
author Kenny Root <kroot@google.com> 2011-02-16 10:13:53 -0800
committer Kenny Root <kroot@google.com> 2011-02-16 10:56:32 -0800
commitbb9d394b21bdfeb1ceb4cf6e4ed0306e39757b15 (patch)
treedbe7d5b2eef96e80ed4a3a1595e1a26cb19e228d /libs/utils/Threads.cpp
parent9497144281b92dd5293ea734d668217bcf4e86e9 (diff)
Clean up use of HAVE_ANDROID_OS
HAVE_ANDROID_OS was defined as "1" for targets, but never defined as "0" for non-targets. Changing them to #ifdef should be safe and matches all the other uses of HAVE_ANDROID_OS throughout the system. Change-Id: I82257325a8ae5e4e4371ddfc4dbf51cea8ea0abb
Diffstat (limited to 'libs/utils/Threads.cpp')
-rw-r--r--libs/utils/Threads.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/utils/Threads.cpp b/libs/utils/Threads.cpp
index b1bd8284430f..35dcbcb64d53 100644
--- a/libs/utils/Threads.cpp
+++ b/libs/utils/Threads.cpp
@@ -739,7 +739,7 @@ int Thread::_threadLoop(void* user)
wp<Thread> weak(strong);
self->mHoldSelf.clear();
-#if HAVE_ANDROID_OS
+#ifdef HAVE_ANDROID_OS
// this is very useful for debugging with gdb
self->mTid = gettid();
#endif