From a41a3670568c4a6a727bc9d965d6c3389f7545d5 Mon Sep 17 00:00:00 2001 From: Rui Ueyama Date: Mon, 31 Aug 2015 06:19:01 +0000 Subject: [PATCH] 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 --- lld/include/lld/Core/Parallel.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lld/include/lld/Core/Parallel.h b/lld/include/lld/Core/Parallel.h index c31a1ece6f4d..e3093d8a8ac8 100644 --- a/lld/include/lld/Core/Parallel.h +++ b/lld/include/lld/Core/Parallel.h @@ -22,7 +22,7 @@ #include #include -#ifdef _MSC_VER +#if defined(_MSC_VER) && LLVM_ENABLE_THREADS #include #include #endif