aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRui Ueyama <ruiu@google.com>2015-08-31 06:19:01 +0000
committerRui Ueyama <ruiu@google.com>2015-08-31 06:19:01 +0000
commita41a3670568c4a6a727bc9d965d6c3389f7545d5 (patch)
tree0b2adb146524b9cfb89f4e8801b3c6c8329b9dda
parente84f6718300d8842b71b56c6593cff3f91d69323 (diff)
downloadllvm-a41a3670568c4a6a727bc9d965d6c3389f7545d5.zip
llvm-a41a3670568c4a6a727bc9d965d6c3389f7545d5.tar.gz
llvm-a41a3670568c4a6a727bc9d965d6c3389f7545d5.tar.bz2
Attempt to unbreak buildbots.
It is currently failing with "'__uncaught_exception': identifier not found" error. I guess it is due to r246219 because after that change, eh.h is included only when threading is enabled. llvm-svn: 246416
-rw-r--r--lld/include/lld/Core/Parallel.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lld/include/lld/Core/Parallel.h b/lld/include/lld/Core/Parallel.h
index c31a1ec..e3093d8a 100644
--- a/lld/include/lld/Core/Parallel.h
+++ b/lld/include/lld/Core/Parallel.h
@@ -22,7 +22,7 @@
#include <mutex>
#include <stack>
-#ifdef _MSC_VER
+#if defined(_MSC_VER) && LLVM_ENABLE_THREADS
#include <concrt.h>
#include <ppl.h>
#endif