Core: Start using llvm/Support/thread.h to work around MSVC <thread> issues.

llvm-svn: 246219
This commit is contained in:
Peter Collingbourne 2015-08-27 21:52:36 +00:00
parent b0fed48b78
commit 402fbecc1a

View File

@ -14,18 +14,12 @@
#include "lld/Core/LLVM.h"
#include "lld/Core/range.h"
#include "llvm/Support/MathExtras.h"
#ifdef _MSC_VER
// concrt.h depends on eh.h for __uncaught_exception declaration
// even if we disable exceptions.
#include <eh.h>
#endif
#include "llvm/Support/thread.h"
#include <algorithm>
#include <atomic>
#include <condition_variable>
#include <mutex>
#include <thread>
#include <stack>
#ifdef _MSC_VER