From 3454d63bf4ab6463cd3e9ca6c9f7012ba8f3f937 Mon Sep 17 00:00:00 2001 From: Nico Weber Date: Tue, 15 Dec 2015 03:14:19 +0000 Subject: [PATCH] Try to let r255604 have an effect. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@255611 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/llvm/Support/ThreadPool.h | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/include/llvm/Support/ThreadPool.h b/include/llvm/Support/ThreadPool.h index 16f287e701d..35dc20867a4 100644 --- a/include/llvm/Support/ThreadPool.h +++ b/include/llvm/Support/ThreadPool.h @@ -16,6 +16,12 @@ #include "llvm/Support/thread.h" +#ifdef _MSC_VER +// concrt.h depends on eh.h for __uncaught_exception declaration +// even if we disable exceptions. +#include +#endif + #include #include #include @@ -24,12 +30,6 @@ #include #include -#ifdef _MSC_VER -// concrt.h depends on eh.h for __uncaught_exception declaration -// even if we disable exceptions. -#include -#endif - namespace llvm { /// A ThreadPool for asynchronous parallel execution on a defined number of -- 2.34.1