Add `pthread.h` Inclusion if `HAVE_PTHREADS_PF` is defined

Single-case tested with success on Windows 11 with MinGW-w64 Standalone GCC v13.1.0 while building OpenCV 4.7.0
pull/23855/head
Paul Kim (김형준) 2 years ago committed by GitHub
parent b7947d861c
commit 3b264d5877
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      modules/core/src/parallel.cpp

@ -118,6 +118,8 @@
#include <ppltasks.h>
#elif defined HAVE_CONCURRENCY
#include <ppl.h>
#elif defined HAVE_PTHREADS_PF
#include <pthread.h>
#endif

Loading…
Cancel
Save