Merge pull request #12449 from Nuzhny007:master

* Fixed compilation error WITH_OPENMP under Windows

* Move up OpenMP condition
This commit is contained in:
Sergey Nuzhny 2018-09-08 23:20:14 +03:00 committed by Alexander Alekhin
parent fd0df5a89b
commit 80610ca054

View File

@ -410,6 +410,8 @@ namespace
});
}
};
#elif defined HAVE_OPENMP
typedef ParallelLoopBodyWrapper ProxyLoopBody;
#elif defined HAVE_GCD
typedef ParallelLoopBodyWrapper ProxyLoopBody;
static void block_function(void* context, size_t index)