fixes to enable ISC to build IPC/SysV
Jarkko Hietaniemi [Wed, 5 Aug 1998 00:59:13 +0000 (03:59 +0300)]
Message-ID: <oee3ebce7da.fsf@alpha.hut.fi>
Subject: [PATCH] 5.005_02-TRIAL1: (Re: Bug in pp_rename and ISC hint)

p4raw-id: //depot/maint-5.005/perl@1734

ext/IPC/SysV/SysV.xs
hints/isc.sh
hints/isc_2.sh

index 818c751..0fbf783 100644 (file)
@@ -15,7 +15,7 @@
 #include <sys/sem.h>
 #endif
 #ifdef HAS_SHM
-#ifdef PERL_SCO5
+#if defined(PERL_SCO5) || defined(PERL_ISC)
 #include <sys/sysmacros.h>
 #endif
 #include <sys/shm.h>
index 43b70fd..cdfe91c 100644 (file)
@@ -34,6 +34,9 @@ ccflags="$ccflags -DBOGUS_GETNAME_RETURN=256"
 # rename(2) can't rename long filenames
 d_rename=undef
 
+# for ext/IPC/SysV/SysV.xs
+ccflags="$ccflags -DPERL_ISC"
+
 # You can also include -D_SYSV3 to pick up "traditionally visible"
 # symbols hidden by name-space pollution rules.  This raises some
 # compilation "redefinition" warnings, but they appear harmless.
index c73908c..d8ca7dc 100644 (file)
@@ -20,3 +20,6 @@ esac
 # Compensate for conflicts in <net/errno.h>
 doio_cflags='ccflags="$ccflags -DENOTSOCK=103"'
 pp_sys_cflags='ccflags="$ccflags -DENOTSOCK=103"'
+
+# for ext/IPC/SysV/SysV.xs
+ccflags="$ccflags -DPERL_ISC"