diff options
| author | Nico Weber <nicolasweber@gmx.de> | 2015-12-15 03:14:19 +0000 |
|---|---|---|
| committer | Nico Weber <nicolasweber@gmx.de> | 2015-12-15 03:14:19 +0000 |
| commit | eb85b9c2a156b9e8ff602172f49d27ba77a334ce (patch) | |
| tree | 06a98b83d38f13b5477191b8bab7b5768ce7b727 | |
| parent | 62d003ce54af5676f01ddad3cbd02fbbc5120cab (diff) | |
| download | bcm5719-llvm-eb85b9c2a156b9e8ff602172f49d27ba77a334ce.tar.gz bcm5719-llvm-eb85b9c2a156b9e8ff602172f49d27ba77a334ce.zip | |
Try to let r255604 have an effect.
llvm-svn: 255611
| -rw-r--r-- | llvm/include/llvm/Support/ThreadPool.h | 12 |
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 |

