From f289ece6cf6188cc2be4273acf2ecf0394743fc5 Mon Sep 17 00:00:00 2001 From: KO Myung-Hun Date: Sun, 24 Mar 2024 17:10:08 -0400 Subject: [PATCH] * src/makeint.h (JOBSERVER_USE_FIFO): Do not define on OS/2. mkfifo() on OS/2 is a dummy, it even returns a wrong value on error. --- src/makeint.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/makeint.h b/src/makeint.h index 86517b4e..5a553093 100644 --- a/src/makeint.h +++ b/src/makeint.h @@ -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