diff --git a/Lib/next3/regen b/Lib/next3/regen new file mode 100755 index 00000000000..fe4f4b51123 --- /dev/null +++ b/Lib/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 diff --git a/Lib/plat-next3/regen b/Lib/plat-next3/regen new file mode 100755 index 00000000000..fe4f4b51123 --- /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