[llvm] r256290 - [unittest] Use Support/Thread.h instead of <thread> to fix the Windows build

Vedant Kumar via llvm-commits llvm-commits at lists.llvm.org
Tue Dec 22 15:09:08 PST 2015


Author: vedantk
Date: Tue Dec 22 17:09:08 2015
New Revision: 256290

URL: http://llvm.org/viewvc/llvm-project?rev=256290&view=rev
Log:
[unittest] Use Support/Thread.h instead of <thread> to fix the Windows build

Modified:
    llvm/trunk/unittests/Support/TimerTest.cpp

Modified: llvm/trunk/unittests/Support/TimerTest.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/unittests/Support/TimerTest.cpp?rev=256290&r1=256289&r2=256290&view=diff
==============================================================================
--- llvm/trunk/unittests/Support/TimerTest.cpp (original)
+++ llvm/trunk/unittests/Support/TimerTest.cpp Tue Dec 22 17:09:08 2015
@@ -8,9 +8,9 @@
 //===----------------------------------------------------------------------===//
 
 #include "llvm/Support/Timer.h"
+#include "llvm/Support/Thread.h"
 #include "gtest/gtest.h"
 #include <chrono>
-#include <thread>
 
 using namespace llvm;
 




More information about the llvm-commits mailing list