summaryrefslogtreecommitdiff
path: root/lib/python2.7/plat-win32/regen
blob: 34b780fdb2b0d72353738b18173a22884b3ec142 (plain)
1
2
3
4
5
6
7
8
9
#! /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