From: Jarkko Hietaniemi Date: Wed, 5 Aug 1998 00:59:13 +0000 (+0300) Subject: fixes to enable ISC to build IPC/SysV X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=a696a92a8c17fd674222340fecaac0639e6ef16b;p=p5sagit%2Fp5-mst-13.2.git fixes to enable ISC to build IPC/SysV Message-ID: Subject: [PATCH] 5.005_02-TRIAL1: (Re: Bug in pp_rename and ISC hint) p4raw-id: //depot/maint-5.005/perl@1734 --- diff --git a/ext/IPC/SysV/SysV.xs b/ext/IPC/SysV/SysV.xs index 818c751..0fbf783 100644 --- a/ext/IPC/SysV/SysV.xs +++ b/ext/IPC/SysV/SysV.xs @@ -15,7 +15,7 @@ #include #endif #ifdef HAS_SHM -#ifdef PERL_SCO5 +#if defined(PERL_SCO5) || defined(PERL_ISC) #include #endif #include diff --git a/hints/isc.sh b/hints/isc.sh index 43b70fd..cdfe91c 100644 --- a/hints/isc.sh +++ b/hints/isc.sh @@ -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. diff --git a/hints/isc_2.sh b/hints/isc_2.sh index c73908c..d8ca7dc 100644 --- a/hints/isc_2.sh +++ b/hints/isc_2.sh @@ -20,3 +20,6 @@ esac # Compensate for conflicts in doio_cflags='ccflags="$ccflags -DENOTSOCK=103"' pp_sys_cflags='ccflags="$ccflags -DENOTSOCK=103"' + +# for ext/IPC/SysV/SysV.xs +ccflags="$ccflags -DPERL_ISC"