]> git.ipfire.org Git - thirdparty/make.git/commitdiff
* src/makeint.h [CYGWIN]: Use pipe mode for the jobserver
authorPaul Smith <psmith@gnu.org>
Sun, 19 Feb 2023 13:52:02 +0000 (08:52 -0500)
committerPaul Smith <psmith@gnu.org>
Sun, 19 Feb 2023 13:52:02 +0000 (08:52 -0500)
src/makeint.h

index 085a4ea811cdfd2666461ba9c8716a2486a18537..db89631765b7c085b7670a8dbd8c80f8323417b7 100644 (file)
@@ -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