Add workaround for Cygwin process management and job control bugs

We cannot wait by pgroup under Cygwin for unknown reasons. Always
wait on jobs by individual processes. See code for more information.
This commit is contained in:
Mahmoud Al-Qudsi
2019-01-02 00:12:07 -06:00
parent 63e70d601d
commit d1913f0df0
4 changed files with 38 additions and 3 deletions

View File

@@ -4,6 +4,9 @@
/* Define to 1 if compiled on WSL */
#cmakedefine WSL 1
/* Define to 1 if complied under Cygwin */
#cmakedefine CYGWIN 1
/* Define to 1 if you have the `clock_gettime' function. */
#cmakedefine HAVE_CLOCK_GETTIME 1