mirror of
https://github.com/python/cpython.git
synced 2025-08-30 21:48:47 +00:00
Test for __sun instead of __sun__, since SUNWspro only defines the latter;
gcc defines both.
This commit is contained in:
parent
a38d9169bc
commit
1c07b4b4fb
2 changed files with 2 additions and 2 deletions
|
@ -94,7 +94,7 @@ Socket methods:
|
|||
#ifdef HAVE_GETHOSTBYNAME_R
|
||||
#if defined(_AIX) || defined(__osf__)
|
||||
#define HAVE_GETHOSTBYNAME_R_3_ARG
|
||||
#elif defined(__sun__) || defined(__sgi)
|
||||
#elif defined(__sun) || defined(__sgi)
|
||||
#define HAVE_GETHOSTBYNAME_R_5_ARG
|
||||
#elif defined(linux)
|
||||
/* Rely on the configure script */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue