diff options
author | Ilya Zakharevich <ilya@math.berkeley.edu> | 1999-05-28 08:13:00 -0400 |
---|---|---|
committer | Jarkko Hietaniemi <jhi@iki.fi> | 1999-05-28 16:50:54 +0000 |
commit | d6a255e6be67358d1e8a71b939edbfc895ee4fa6 (patch) | |
tree | 9ca6b9b4ba46c2b2a496cda3e0b83c68e1fc98d6 /ext | |
parent | 4435c47799d17bebb53fa0fbe063f550be95a17c (diff) | |
download | perl-d6a255e6be67358d1e8a71b939edbfc895ee4fa6.tar.gz |
Cosmetic OS/2-related patches
To: perl5-porters@perl.org (Mailing list Perl5)
Message-Id: <199905281613.MAA02048@monk.mps.ohio-state.edu>
p4raw-id: //depot/cfgperl@3497
Diffstat (limited to 'ext')
-rw-r--r-- | ext/POSIX/POSIX.xs | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/ext/POSIX/POSIX.xs b/ext/POSIX/POSIX.xs index 80e92ff2fc..4a5a2a0743 100644 --- a/ext/POSIX/POSIX.xs +++ b/ext/POSIX/POSIX.xs @@ -138,8 +138,12 @@ #else # ifndef HAS_MKFIFO -# ifndef mkfifo -# define mkfifo(path, mode) (mknod((path), (mode) | S_IFIFO, 0)) +# ifdef OS2 +# define mkfifo(a,b) not_here("mkfifo") +# else /* !( defined OS2 ) */ +# ifndef mkfifo +# define mkfifo(path, mode) (mknod((path), (mode) | S_IFIFO, 0)) +# endif # endif # endif /* !HAS_MKFIFO */ |