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