OSDN Git Service

ART: Mac build fix for unused constant
authorAndreas Gampe <agampe@google.com>
Thu, 15 Jan 2015 04:09:14 +0000 (20:09 -0800)
committerAndreas Gampe <agampe@google.com>
Thu, 15 Jan 2015 04:09:14 +0000 (20:09 -0800)
Change-Id: I77e70c877e8a3608555f128e0edf8784db178e86

runtime/runtime_linux.cc

index 55dfb0f..35d944f 100644 (file)
@@ -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;