Fix #if/#else bug introduced with MACOS_TRADITIONAL patches in change 9479.
[p5sagit/p5-mst-13.2.git] / hints / isc.sh
index 0ecdb7d..2b97618 100644 (file)
@@ -1,7 +1,7 @@
 #  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
@@ -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 <rpcsvc/dbm.h>
-ccflags="$ccflags -I/usr/include/rpcsvc"