[llvm] r335608 - Fix LLVM_ENABLE_THREADS=0 builds after r335440.
Nico Weber via llvm-commits
llvm-commits at lists.llvm.org
Tue Jun 26 07:42:48 PDT 2018
Author: nico
Date: Tue Jun 26 07:42:48 2018
New Revision: 335608
URL: http://llvm.org/viewvc/llvm-project?rev=335608&view=rev
Log:
Fix LLVM_ENABLE_THREADS=0 builds after r335440.
Modified:
llvm/trunk/unittests/Support/TaskQueueTest.cpp
Modified: llvm/trunk/unittests/Support/TaskQueueTest.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/unittests/Support/TaskQueueTest.cpp?rev=335608&r1=335607&r2=335608&view=diff
==============================================================================
--- llvm/trunk/unittests/Support/TaskQueueTest.cpp (original)
+++ llvm/trunk/unittests/Support/TaskQueueTest.cpp Tue Jun 26 07:42:48 2018
@@ -7,13 +7,14 @@
//
//===----------------------------------------------------------------------===//
+#if LLVM_ENABLE_THREADS
+
#include "llvm/Support/TaskQueue.h"
#include "gtest/gtest.h"
using namespace llvm;
-#if LLVM_ENABLE_THREADS
class TaskQueueTest : public testing::Test {
protected:
TaskQueueTest() {}
More information about the llvm-commits
mailing list