Fix mac build
Untested.
Change-Id: I1b7803f2fdcd7f509614aa9d3dce414e50a6119d
diff --git a/runtime/thread_list.cc b/runtime/thread_list.cc
index 386f81f..7c40eb7 100644
--- a/runtime/thread_list.cc
+++ b/runtime/thread_list.cc
@@ -585,8 +585,10 @@
// Wait for the barrier to be passed by all runnable threads. This wait
// is done with a timeout so that we can detect problems.
+#if ART_USE_FUTEXES
timespec wait_timeout;
InitTimeSpec(true, CLOCK_MONOTONIC, 10000, 0, &wait_timeout);
+#endif
while (true) {
int32_t cur_val = pending_threads.LoadRelaxed();
if (LIKELY(cur_val > 0)) {