bug-make
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH] Fix jobserver does not work on OS/2


From: KO Myung-Hun
Subject: [PATCH] Fix jobserver does not work on OS/2
Date: Wed, 13 Dec 2023 20:05:24 +0900

mkfifo() on OS/2 is a dummy, even it returns a wrong value on error.

Do not use it on OS/2.

* src/makeint.h (JOBSERVER_USE_FIFO): Do not define on OS/2.
---
 src/makeint.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/makeint.h b/src/makeint.h
index d55ccb6f..a50cf548 100644
--- a/src/makeint.h
+++ b/src/makeint.h
@@ -769,8 +769,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 and EMX so don't use it 
there.  */
+# if !defined(JOBSERVER_USE_FIFO) && !MK_OS_HURD && !MK_OS_CYGWIN && 
!defined(__EMX__)
 #  define JOBSERVER_USE_FIFO 1
 # endif
 #endif
-- 
2.42.0




reply via email to

[Prev in Thread] Current Thread [Next in Thread]