summaryrefslogtreecommitdiff
path: root/ext/POSIX/POSIX.xs
diff options
context:
space:
mode:
authorGurusamy Sarathy <gsar@cpan.org>1999-06-02 01:37:33 +0000
committerGurusamy Sarathy <gsar@cpan.org>1999-06-02 01:37:33 +0000
commit69dec784b2576ea54ab7c7c5e03371f1f8861260 (patch)
treef9c5605e00df11c9c976f39346dfc612c191dab6 /ext/POSIX/POSIX.xs
parentba106d47906768b6e657462b9a484fe0c3a0f0d5 (diff)
parentf54b75aca7a5c24d01f65ce2849ffe277974f0e9 (diff)
downloadperl-69dec784b2576ea54ab7c7c5e03371f1f8861260.tar.gz
integrate cfgperl contents into mainline
p4raw-id: //depot/perl@3516
Diffstat (limited to 'ext/POSIX/POSIX.xs')
-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 */