]> git.ipfire.org Git - thirdparty/make.git/commitdiff
* src/makeint.h (JOBSERVER_USE_FIFO): Do not define on OS/2.
authorKO Myung-Hun <komh78@gmail.com>
Sun, 24 Mar 2024 21:10:08 +0000 (17:10 -0400)
committerPaul Smith <psmith@gnu.org>
Thu, 28 Mar 2024 23:08:13 +0000 (19:08 -0400)
mkfifo() on OS/2 is a dummy, it even returns a wrong value on error.

src/makeint.h

index 86517b4e7fe6bbbd546b7a1b29519ad4617ede53..5a553093a9c97303f6f4376fe677026738e46944 100644 (file)
@@ -768,8 +768,8 @@ extern unsigned int no_intermediates;
 
 #if HAVE_MKFIFO
 /* It seems that mkfifo() is not working correctly, or at least not the way
-   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
+   GNU make wants it to work, on: GNU/Hurd, Cygwin, OS2; don't use it there.  */
+# if !defined(JOBSERVER_USE_FIFO) && !MK_OS_HURD && !MK_OS_CYGWIN && !MK_OS_OS2
 #  define JOBSERVER_USE_FIFO 1
 # endif
 #endif