cpython/Lib/next3/regen
Guido van Rossum fe58e3e22c regen for Next
1996-08-16 18:14:41 +00:00

12 lines
436 B
Bash
Executable File

#! /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