summaryrefslogtreecommitdiffstats
path: root/Lib/plat-next3/regen
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1996-08-16 18:14:41 (GMT)
committerGuido van Rossum <guido@python.org>1996-08-16 18:14:41 (GMT)
commitfe58e3e22c187b21d5a2fbe5e03957442edfbb8c (patch)
tree9b9a371133e999ee0e78c644f30a08cce128b418 /Lib/plat-next3/regen
parent7ffa7617c79aac9fca545eddd21274240d462d07 (diff)
downloadcpython-fe58e3e22c187b21d5a2fbe5e03957442edfbb8c.zip
cpython-fe58e3e22c187b21d5a2fbe5e03957442edfbb8c.tar.gz
cpython-fe58e3e22c187b21d5a2fbe5e03957442edfbb8c.tar.bz2
regen for Next
Diffstat (limited to 'Lib/plat-next3/regen')
-rwxr-xr-xLib/plat-next3/regen11
1 files changed, 11 insertions, 0 deletions
diff --git a/Lib/plat-next3/regen b/Lib/plat-next3/regen
new file mode 100755
index 0000000..fe4f4b5
--- /dev/null
+++ b/Lib/plat-next3/regen
@@ -0,0 +1,11 @@
+#! /bin/sh
+set -v
+INCLUDE="/NextDeveloper/Headers;/NextDeveloper/Headers/ansi;/NextDeveloper/Headers/bsd"
+export INCLUDE
+
+python ../../Tools/scripts/h2py.py /usr/include/bsd/sys/fcntl.h
+echo "Adding O_NDELAY and O_SYNC"
+echo "O_NDELAY = FNDELAY" >> FCNTL.py
+echo "O_SYNC = FSYNC" >> FCNTL.py
+python ../../Tools/scripts/h2py.py /usr/include/bsd/sys/socket.h
+python ../../Tools/scripts/h2py.py -i '(u_long)' /usr/include/bsd/netinet/in.h