AppPkg/Applications/Python/Python-2.7.10/*/pyconfig.h: Update pyconfig for Python 2.7.10 compliance.

Add new constants required for Python 2.7.10.
Update package and help values.
Define networking constants so that the getaddrinfo, gethostbyname, and
getnameinfo functions are used from the sockets package.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Daryl McDaniel <edk2-lists@mc2research.org>
Reviewed-by: Jaben Carsey <jaben.carsey@intel.com>
Reviewed-by: Erik Bjorge <erik.c.bjorge@intel.com>



git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@19553 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
Daryl McDaniel
2015-12-29 02:53:10 +00:00
committed by darylm503
parent 5346adbb18
commit 3af5808515
2 changed files with 60 additions and 15 deletions

View File

@@ -289,7 +289,8 @@
#endif
/* Define if you have the getaddrinfo function. */
#undef HAVE_GETADDRINFO
//#undef HAVE_GETADDRINFO
#define HAVE_GETADDRINFO 1
/* Define to 1 if you have the 'getcwd' function. */
#define HAVE_GETCWD 1
@@ -304,7 +305,8 @@
#undef HAVE_GETGROUPS
/* Define to 1 if you have the 'gethostbyname' function. */
#undef HAVE_GETHOSTBYNAME
//#undef HAVE_GETHOSTBYNAME
#define HAVE_GETHOSTBYNAME 1
/* Define this if you have some version of gethostbyname_r() */
#undef HAVE_GETHOSTBYNAME_R
@@ -328,7 +330,8 @@
#undef HAVE_GETLOGIN
/* Define to 1 if you have the 'getnameinfo' function. */
#undef HAVE_GETNAMEINFO
//#undef HAVE_GETNAMEINFO
#define HAVE_GETNAMEINFO 1
/* Define if you have the 'getpagesize' function. */
#undef HAVE_GETPAGESIZE