summaryrefslogtreecommitdiff
path: root/lib/python2.7/plat-win32
diff options
context:
space:
mode:
authorrahulp132020-03-17 14:55:41 +0530
committerrahulp132020-03-17 14:55:41 +0530
commit296443137f4288cb030e92859ccfbe3204bc1088 (patch)
treeca4798c2da1e7244edc3bc108d81b462b537aea2 /lib/python2.7/plat-win32
parent0db48f6533517ecebfd9f0693f89deca28408b76 (diff)
downloadKiCad-eSim-296443137f4288cb030e92859ccfbe3204bc1088.tar.gz
KiCad-eSim-296443137f4288cb030e92859ccfbe3204bc1088.tar.bz2
KiCad-eSim-296443137f4288cb030e92859ccfbe3204bc1088.zip
initial commit
Diffstat (limited to 'lib/python2.7/plat-win32')
-rw-r--r--lib/python2.7/plat-win32/STDDEF.py3
-rw-r--r--lib/python2.7/plat-win32/regen9
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