summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--llvm/include/llvm/Support/ThreadPool.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/llvm/include/llvm/Support/ThreadPool.h b/llvm/include/llvm/Support/ThreadPool.h
index 16f287e701d..35dc20867a4 100644
--- a/llvm/include/llvm/Support/ThreadPool.h
+++ b/llvm/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 <eh.h>
+#endif
+
#include <condition_variable>
#include <functional>
#include <future>
@@ -24,12 +30,6 @@
#include <queue>
#include <utility>
-#ifdef _MSC_VER
-// concrt.h depends on eh.h for __uncaught_exception declaration
-// even if we disable exceptions.
-#include <eh.h>
-#endif
-
namespace llvm {
/// A ThreadPool for asynchronous parallel execution on a defined number of
OpenPOWER on IntegriCloud