threadexecutor.h: Disable THREADING_MODEL_FORK for Cygwin (trac 8973) (#1670)
The fork implementation in Cygwin seems to be not very reliable. See also the Cygwin documentation here: https://cygwin.com/faq/faq.html#faq.using.fixing-fork-failures More details in the ticket https://trac.cppcheck.net/ticket/8973
This commit is contained in:
parent
437e171d0d
commit
d1deff7c02
|
@ -27,7 +27,7 @@
|
|||
#include <map>
|
||||
#include <string>
|
||||
|
||||
#if (defined(__GNUC__) || defined(__sun)) && !defined(__MINGW32__)
|
||||
#if (defined(__GNUC__) || defined(__sun)) && !defined(__MINGW32__) && !defined(__CYGWIN__)
|
||||
#define THREADING_MODEL_FORK
|
||||
#elif defined(_WIN32)
|
||||
#define THREADING_MODEL_WIN
|
||||
|
|
Loading…
Reference in New Issue