# isc.sh
# Interactive Unix Versions 3 and 4.
# Compile perl entirely in posix mode.
-# Andy Dougherty doughera@lafcol.lafayette.edu
+# Andy Dougherty doughera@lafayette.edu
# Wed Oct 5 15:57:37 EDT 1994
#
# Use Configure -Dcc=gcc to use gcc
;;
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.