mirror of
https://github.com/python/cpython.git
synced 2025-08-03 16:39:00 +00:00
Merge AIX fixes from 3.5 into 3.6
This commit is contained in:
commit
f8cebad290
3 changed files with 5 additions and 2 deletions
|
@ -172,12 +172,14 @@ if_indextoname(index) -- return the corresponding interface name\n\
|
|||
#endif
|
||||
|
||||
#ifdef HAVE_GETHOSTBYNAME_R
|
||||
# if defined(_AIX)
|
||||
# if defined(_AIX) && !defined(_LINUX_SOURCE_COMPAT)
|
||||
# define HAVE_GETHOSTBYNAME_R_3_ARG
|
||||
# elif defined(__sun) || defined(__sgi)
|
||||
# define HAVE_GETHOSTBYNAME_R_5_ARG
|
||||
# elif defined(__linux__)
|
||||
/* Rely on the configure script */
|
||||
# elif defined(_LINUX_SOURCE_COMPAT) /* Linux compatibility on AIX */
|
||||
# define HAVE_GETHOSTBYNAME_R_6_ARG
|
||||
# else
|
||||
# undef HAVE_GETHOSTBYNAME_R
|
||||
# endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue