Test for __sun instead of __sun__, since SUNWspro only defines the latter;

gcc defines both.
This commit is contained in:
Martin v. Löwis 2001-10-13 09:00:42 +00:00
parent a38d9169bc
commit 1c07b4b4fb
2 changed files with 2 additions and 2 deletions

View file

@ -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 */