From: Paul Smith Date: Sun, 19 Feb 2023 13:52:02 +0000 (-0500) Subject: * src/makeint.h [CYGWIN]: Use pipe mode for the jobserver X-Git-Tag: 4.4.0.91~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=536c3e2b37c0baa02b359863d4db9b1a1e22fb15;p=thirdparty%2Fmake.git * src/makeint.h [CYGWIN]: Use pipe mode for the jobserver --- diff --git a/src/makeint.h b/src/makeint.h index 085a4ea8..db896317 100644 --- a/src/makeint.h +++ b/src/makeint.h @@ -86,6 +86,9 @@ extern int errno; #if __gnu_hurd__ # define MK_OS_HURD 1 #endif +#if __CYGWIN__ +# define MK_OS_CYGWIN 1 +#endif #if defined(__MVS__) # define MK_OS_ZOS 1 #endif @@ -748,9 +751,9 @@ extern char cmd_prefix; extern unsigned int no_intermediates; #if HAVE_MKFIFO -# if !defined(JOBSERVER_USE_FIFO) && !MK_OS_HURD /* It seems that mkfifo() is not working correctly, or at least not the way - GNU make wants it to work, on GNU/Hurd so don't use it there. */ + GNU make wants it to work, on GNU/Hurd and Cygwin so don't use it there. */ +# if !defined(JOBSERVER_USE_FIFO) && !MK_OS_HURD && !MK_OS_CYGWIN # define JOBSERVER_USE_FIFO 1 # endif #endif