X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=hints%2Fisc.sh;h=cdfe91c605af861a1ac3c1f46d535c55256190a5;hb=619ffc2be66f166b301c5b0d14a8bbba728675bc;hp=1aa14e1a476f57c97bf8809ce9db157d01468893;hpb=1ab5d0547ab7398ea9e3e00b1c1b0f1f8ea0dd94;p=p5sagit%2Fp5-mst-13.2.git diff --git a/hints/isc.sh b/hints/isc.sh index 1aa14e1..cdfe91c 100644 --- a/hints/isc.sh +++ b/hints/isc.sh @@ -27,8 +27,15 @@ case "$cc" in ldflags="$ldflags -Xp" ;; esac -# fix some errors of libinet.a and compiler -ccflags="$ccflags -D_SYS_ISC" + +# 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