From fcf81d83eec21a7285912b4acb18af79babd4d68 Mon Sep 17 00:00:00 2001 From: Andreas Gampe Date: Wed, 14 Jan 2015 20:09:14 -0800 Subject: ART: Mac build fix for unused constant Change-Id: I77e70c877e8a3608555f128e0edf8784db178e86 --- runtime/runtime_linux.cc | 2 ++ 1 file changed, 2 insertions(+) (limited to 'runtime/runtime_linux.cc') 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; -- cgit v1.2.3