Index: Source/wtf/ParallelJobs.h |
diff --git a/Source/wtf/ParallelJobs.h b/Source/wtf/ParallelJobs.h |
index 0923886adedf7b1f3362ecf04f0c2a008041ea94..4ba3a16e40af8eaf2f0f992a5e8092958d90e3b8 100644 |
--- a/Source/wtf/ParallelJobs.h |
+++ b/Source/wtf/ParallelJobs.h |
@@ -49,12 +49,15 @@ |
// parallelJobs.execute(); |
// |
+#if !defined(ENABLE_THREADING_LIBDISPATCH) && HAVE(DISPATCH_H) |
+#define ENABLE_THREADING_LIBDISPATCH 1 |
+#elif !defined(THREADING_GENERIC) |
+#define ENABLE_THREADING_GENERIC 1 |
+#endif |
+ |
#if ENABLE(THREADING_GENERIC) |
#include <wtf/ParallelJobsGeneric.h> |
-#elif ENABLE(THREADING_OPENMP) |
-#include <wtf/ParallelJobsOpenMP.h> |
- |
#elif ENABLE(THREADING_LIBDISPATCH) |
#include <wtf/ParallelJobsLibdispatch.h> |