summaryrefslogtreecommitdiff
path: root/ext
diff options
context:
space:
mode:
authorIlya Zakharevich <ilya@math.berkeley.edu>1999-05-28 08:13:00 -0400
committerJarkko Hietaniemi <jhi@iki.fi>1999-05-28 16:50:54 +0000
commitd6a255e6be67358d1e8a71b939edbfc895ee4fa6 (patch)
tree9ca6b9b4ba46c2b2a496cda3e0b83c68e1fc98d6 /ext
parent4435c47799d17bebb53fa0fbe063f550be95a17c (diff)
downloadperl-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.xs8
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 */