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:
Sebastian 2019-02-15 21:47:33 +01:00 committed by amai2012
parent 437e171d0d
commit d1deff7c02
1 changed files with 1 additions and 1 deletions

View File

@ -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