mirror of https://github.com/acidanthera/audk.git
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@19581 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
parent
b331b99fae
commit
c9f46d31f4
|
@ -280,12 +280,11 @@
|
||||||
/* Define to 1 if you have the 'gamma' function. */
|
/* Define to 1 if you have the 'gamma' function. */
|
||||||
#undef HAVE_GAMMA
|
#undef HAVE_GAMMA
|
||||||
|
|
||||||
/* Define if we can use gcc inline assembler to get and set x87 control word
|
/* Define if we can use gcc inline assembler to get and set x87 control word */
|
||||||
*/
|
|
||||||
#if defined(__GNUC__)
|
#if defined(__GNUC__)
|
||||||
#define HAVE_GCC_ASM_FOR_X87 1
|
#define HAVE_GCC_ASM_FOR_X87 1
|
||||||
#else
|
#else
|
||||||
#undef HAVE_GCC_ASM_FOR_X87
|
#undef HAVE_GCC_ASM_FOR_X87
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* Define if you have the getaddrinfo function. */
|
/* Define if you have the getaddrinfo function. */
|
||||||
|
@ -803,13 +802,13 @@
|
||||||
#undef HAVE_SYS_NDIR_H
|
#undef HAVE_SYS_NDIR_H
|
||||||
|
|
||||||
/* Define to 1 if you have the <sys/param.h> header file. */
|
/* Define to 1 if you have the <sys/param.h> header file. */
|
||||||
#define HAVE_SYS_PARAM_H 1
|
#define HAVE_SYS_PARAM_H 1
|
||||||
|
|
||||||
/* Define to 1 if you have the <sys/poll.h> header file. */
|
/* Define to 1 if you have the <sys/poll.h> header file. */
|
||||||
#define HAVE_SYS_POLL_H 1
|
#define HAVE_SYS_POLL_H 1
|
||||||
|
|
||||||
/* Define to 1 if you have the <sys/resource.h> header file. */
|
/* Define to 1 if you have the <sys/resource.h> header file. */
|
||||||
#define HAVE_SYS_RESOURCE_H 1
|
#define HAVE_SYS_RESOURCE_H 1
|
||||||
|
|
||||||
/* Define to 1 if you have the <sys/select.h> header file. */
|
/* Define to 1 if you have the <sys/select.h> header file. */
|
||||||
#define HAVE_SYS_SELECT_H 1
|
#define HAVE_SYS_SELECT_H 1
|
||||||
|
@ -904,7 +903,7 @@
|
||||||
#undef HAVE_UINT64_T
|
#undef HAVE_UINT64_T
|
||||||
|
|
||||||
/* Define to 1 if the system has the type 'uintptr_t'. */
|
/* Define to 1 if the system has the type 'uintptr_t'. */
|
||||||
#define HAVE_UINTPTR_T 1
|
#define HAVE_UINTPTR_T 1
|
||||||
|
|
||||||
/* Define to 1 if you have the 'uname' function. */
|
/* Define to 1 if you have the 'uname' function. */
|
||||||
#undef HAVE_UNAME
|
#undef HAVE_UNAME
|
||||||
|
@ -927,7 +926,7 @@
|
||||||
#undef HAVE_UTIMES
|
#undef HAVE_UTIMES
|
||||||
|
|
||||||
/* Define to 1 if you have the <utime.h> header file. */
|
/* Define to 1 if you have the <utime.h> header file. */
|
||||||
#define HAVE_UTIME_H 1
|
#define HAVE_UTIME_H 1
|
||||||
|
|
||||||
/* Define to 1 if you have the 'wait3' function. */
|
/* Define to 1 if you have the 'wait3' function. */
|
||||||
#undef HAVE_WAIT3
|
#undef HAVE_WAIT3
|
||||||
|
@ -1083,7 +1082,7 @@
|
||||||
#define SIZEOF__BOOL 1
|
#define SIZEOF__BOOL 1
|
||||||
|
|
||||||
/* Define to 1 if you have the ANSI C header files. */
|
/* Define to 1 if you have the ANSI C header files. */
|
||||||
#define STDC_HEADERS 1
|
#define STDC_HEADERS 1
|
||||||
|
|
||||||
/* Define if you can safely include both <sys/select.h> and <sys/time.h>
|
/* Define if you can safely include both <sys/select.h> and <sys/time.h>
|
||||||
(which you can't on SCO ODT 3.0). */
|
(which you can't on SCO ODT 3.0). */
|
||||||
|
@ -1301,4 +1300,3 @@
|
||||||
//#undef volatile
|
//#undef volatile
|
||||||
|
|
||||||
#endif /*Py_PYCONFIG_H*/
|
#endif /*Py_PYCONFIG_H*/
|
||||||
|
|
||||||
|
|
|
@ -186,8 +186,7 @@
|
||||||
/* Define to 1 if you have the <direct.h> header file. */
|
/* Define to 1 if you have the <direct.h> header file. */
|
||||||
#undef HAVE_DIRECT_H
|
#undef HAVE_DIRECT_H
|
||||||
|
|
||||||
/* Define to 1 if you have the <dirent.h> header file, and it defines 'DIR'.
|
/* Define to 1 if you have the <dirent.h> header file, and it defines 'DIR'. */
|
||||||
*/
|
|
||||||
#define HAVE_DIRENT_H 1
|
#define HAVE_DIRENT_H 1
|
||||||
|
|
||||||
/* Define to 1 if you have the <dlfcn.h> header file. */
|
/* Define to 1 if you have the <dlfcn.h> header file. */
|
||||||
|
@ -280,16 +279,16 @@
|
||||||
/* Define to 1 if you have the 'gamma' function. */
|
/* Define to 1 if you have the 'gamma' function. */
|
||||||
#undef HAVE_GAMMA
|
#undef HAVE_GAMMA
|
||||||
|
|
||||||
/* Define if we can use gcc inline assembler to get and set x87 control word
|
/* Define if we can use gcc inline assembler to get and set x87 control word */
|
||||||
*/
|
|
||||||
#if defined(__GNUC__)
|
#if defined(__GNUC__)
|
||||||
#define HAVE_GCC_ASM_FOR_X87 1
|
#define HAVE_GCC_ASM_FOR_X87 1
|
||||||
#else
|
#else
|
||||||
#undef HAVE_GCC_ASM_FOR_X87
|
#undef HAVE_GCC_ASM_FOR_X87
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* Define if you have the getaddrinfo function. */
|
/* 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 to 1 if you have the 'getcwd' function. */
|
||||||
#define HAVE_GETCWD 1
|
#define HAVE_GETCWD 1
|
||||||
|
@ -304,7 +303,8 @@
|
||||||
#undef HAVE_GETGROUPS
|
#undef HAVE_GETGROUPS
|
||||||
|
|
||||||
/* Define to 1 if you have the 'gethostbyname' function. */
|
/* 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() */
|
/* Define this if you have some version of gethostbyname_r() */
|
||||||
#undef HAVE_GETHOSTBYNAME_R
|
#undef HAVE_GETHOSTBYNAME_R
|
||||||
|
@ -328,7 +328,8 @@
|
||||||
#undef HAVE_GETLOGIN
|
#undef HAVE_GETLOGIN
|
||||||
|
|
||||||
/* Define to 1 if you have the 'getnameinfo' function. */
|
/* 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. */
|
/* Define if you have the 'getpagesize' function. */
|
||||||
#undef HAVE_GETPAGESIZE
|
#undef HAVE_GETPAGESIZE
|
||||||
|
@ -1302,4 +1303,3 @@
|
||||||
//#undef volatile
|
//#undef volatile
|
||||||
|
|
||||||
#endif /*Py_PYCONFIG_H*/
|
#endif /*Py_PYCONFIG_H*/
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue