summaryrefslogtreecommitdiffstats
path: root/runtime/runtime_linux.cc
diff options
context:
space:
mode:
authorAndreas Gampe <agampe@google.com>2015-01-14 20:09:14 -0800
committerAndreas Gampe <agampe@google.com>2015-01-14 20:09:14 -0800
commitfcf81d83eec21a7285912b4acb18af79babd4d68 (patch)
tree2da3314673ae3225c722c00ede7a43dfcc83d66b /runtime/runtime_linux.cc
parent659b1ebdd569a35b41201e4f2ebc625d20594661 (diff)
downloadandroid_art-fcf81d83eec21a7285912b4acb18af79babd4d68.tar.gz
android_art-fcf81d83eec21a7285912b4acb18af79babd4d68.tar.bz2
android_art-fcf81d83eec21a7285912b4acb18af79babd4d68.zip
ART: Mac build fix for unused constant
Change-Id: I77e70c877e8a3608555f128e0edf8784db178e86
Diffstat (limited to 'runtime/runtime_linux.cc')
-rw-r--r--runtime/runtime_linux.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/runtime/runtime_linux.cc b/runtime/runtime_linux.cc
index 55dfb0fc94..35d944f1e6 100644
--- a/runtime/runtime_linux.cc
+++ b/runtime/runtime_linux.cc
@@ -25,6 +25,7 @@
#include "base/dumpable.h"
#include "base/logging.h"
+#include "base/macros.h"
#include "base/mutex.h"
#include "base/stringprintf.h"
#include "thread-inl.h"
@@ -289,6 +290,7 @@ struct UContext {
static int GetTimeoutSignal() {
#if defined(__APPLE__)
// Mac does not support realtime signals.
+ UNUSED(kUseSigRTTimeout);
return -1;
#else
return kUseSigRTTimeout ? (SIGRTMIN + 2) : -1;