Commit 80610ca0 authored by Sergey Nuzhny's avatar Sergey Nuzhny Committed by Alexander Alekhin

Merge pull request #12449 from Nuzhny007:master

* Fixed compilation error WITH_OPENMP under Windows

* Move up OpenMP condition
parent fd0df5a8
...@@ -410,6 +410,8 @@ namespace ...@@ -410,6 +410,8 @@ namespace
}); });
} }
}; };
#elif defined HAVE_OPENMP
typedef ParallelLoopBodyWrapper ProxyLoopBody;
#elif defined HAVE_GCD #elif defined HAVE_GCD
typedef ParallelLoopBodyWrapper ProxyLoopBody; typedef ParallelLoopBodyWrapper ProxyLoopBody;
static void block_function(void* context, size_t index) static void block_function(void* context, size_t index)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment