summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--runtime/base/mutex-inl.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/runtime/base/mutex-inl.h b/runtime/base/mutex-inl.h
index 0b13e312d3..c310191166 100644
--- a/runtime/base/mutex-inl.h
+++ b/runtime/base/mutex-inl.h
@@ -32,9 +32,10 @@
#ifndef SYS_futex
#define SYS_futex __NR_futex
#endif
-#define CHECK_MUTEX_CALL(call, args) CHECK_PTHREAD_CALL(call, args, name_)
#endif // ART_USE_FUTEXES
+#define CHECK_MUTEX_CALL(call, args) CHECK_PTHREAD_CALL(call, args, name_)
+
namespace art {
#if ART_USE_FUTEXES