diff options
Diffstat (limited to 'lib/python2.7/plat-win32')
-rw-r--r-- | lib/python2.7/plat-win32/STDDEF.py | 3 | ||||
-rw-r--r-- | lib/python2.7/plat-win32/regen | 9 |
2 files changed, 12 insertions, 0 deletions
diff --git a/lib/python2.7/plat-win32/STDDEF.py b/lib/python2.7/plat-win32/STDDEF.py new file mode 100644 index 0000000..f5541d6 --- /dev/null +++ b/lib/python2.7/plat-win32/STDDEF.py @@ -0,0 +1,3 @@ +# Generated by h2py from C:/building/msys64/mingw32/lib/gcc/i686-w64-mingw32/6.3.0//include/stddef.h +__WCHAR_TYPE__ = int +NULL = 0 diff --git a/lib/python2.7/plat-win32/regen b/lib/python2.7/plat-win32/regen new file mode 100644 index 0000000..34b780f --- /dev/null +++ b/lib/python2.7/plat-win32/regen @@ -0,0 +1,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 |