Skip to content

Commit 80610ca

Browse files
Nuzhny007alalek
authored andcommitted
Merge pull request opencv#12449 from Nuzhny007:master
* Fixed compilation error WITH_OPENMP under Windows * Move up OpenMP condition
1 parent fd0df5a commit 80610ca

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

modules/core/src/parallel.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -410,6 +410,8 @@ namespace
410410
});
411411
}
412412
};
413+
#elif defined HAVE_OPENMP
414+
typedef ParallelLoopBodyWrapper ProxyLoopBody;
413415
#elif defined HAVE_GCD
414416
typedef ParallelLoopBodyWrapper ProxyLoopBody;
415417
static void block_function(void* context, size_t index)

0 commit comments

Comments
 (0)