Issue #12571: Add a plat-linux3 directory mirroring the plat-linux2 directory,

so that "import DLFCN" and other similar imports work on Linux 3.0.
This commit is contained in:
Antoine Pitrou 2011-07-20 00:26:23 +02:00
parent 4634676cec
commit c57ed91e0c
6 changed files with 1087 additions and 0 deletions

8
Lib/plat-linux3/regen Executable file
View file

@ -0,0 +1,8 @@
#! /bin/sh
case `uname` in
Linux*) ;;
*) echo Probably not on a Linux system 1>&2
exit 1;;
esac
set -v
h2py -i '(u_long)' /usr/include/sys/types.h /usr/include/netinet/in.h /usr/include/dlfcn.h