X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=hints%2Fisc.sh;h=cdfe91c605af861a1ac3c1f46d535c55256190a5;hb=515b656f0b6017cfe53d5ca0bf88d2ba7e678021;hp=0ecdb7ddc98837bed4ac70b789c105863a6a1d4e;hpb=5d94fbed3754780f11eb4db2d2379544cacb60e1;p=p5sagit%2Fp5-mst-13.2.git diff --git a/hints/isc.sh b/hints/isc.sh index 0ecdb7d..cdfe91c 100644 --- a/hints/isc.sh +++ b/hints/isc.sh @@ -28,10 +28,17 @@ case "$cc" in ;; esac +# getsockname() and getpeername() return 256 for no good reason +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. # ccflags="$ccflags -D_SYSV3" -# Pick up dbm.h in -ccflags="$ccflags -I/usr/include/rpcsvc"