1
1
Fork 0
mirror of https://github.com/QB64Official/qb64.git synced 2024-09-17 21:34:45 +00:00
qb64/internal/c/mingw64/opt/lib/python2.7/plat-win32/regen
2019-01-01 22:40:38 +11:00

9 lines
286 B
Bash

#! /bin/sh
set -v
if [ -n "$1" ]; then
CCINSTALL=$($1 -print-search-dirs | head -1 | cut -d' ' -f2)
REGENHEADER=${CCINSTALL//\\//}/include/stddef.h
else
REGENHEADER=/usr/include/netinet/in.h
fi
eval $PYTHON_FOR_BUILD ../../Tools/scripts/h2py.py -i "'(u_long)'" $REGENHEADER