Index: runtime/bin/thread_android.cc |
diff --git a/runtime/bin/thread_android.cc b/runtime/bin/thread_android.cc |
index f84a988b4a33e1763e41815b0c3ec914f0a5094d..4f5c5479d7354170936823d33ff8e89a32e30b4a 100644 |
--- a/runtime/bin/thread_android.cc |
+++ b/runtime/bin/thread_android.cc |
@@ -6,6 +6,7 @@ |
#if defined(TARGET_OS_ANDROID) |
#include "bin/thread.h" |
+#include "bin/thread_android.h" |
#include <errno.h> // NOLINT |
#include <sys/time.h> // NOLINT |
@@ -37,7 +38,9 @@ namespace bin { |
} |
#else |
#define RETURN_ON_PTHREAD_FAILURE(result) \ |
- if (result != 0) return result; |
+ if (result != 0) { \ |
+ return result; \ |
+ } |
#endif |
@@ -164,7 +167,7 @@ intptr_t Thread::ThreadIdToIntPtr(ThreadId id) { |
bool Thread::Compare(ThreadId a, ThreadId b) { |
- return a == b; |
+ return (a == b); |
} |