Follow up fix for 200528 - ldap/include/portable.h is confused

about Solaris: older Linux versions do not have in_addr_t, so
don't assume they do.
This commit is contained in:
mcs%netscape.com 2003-08-27 21:02:31 +00:00
parent cc3cb06334
commit 20ff0afa50

View File

@ -350,8 +350,7 @@ extern char *strdup();
/*
* Define a portable type for IPv4 style Internet addresses (32 bits):
*/
#if defined(_IN_ADDR_T) || defined(LINUX) || \
defined(aix) || defined(HPUX11) || defined(OSF1)
#if defined(_IN_ADDR_T) || defined(aix) || defined(HPUX11) || defined(OSF1)
typedef in_addr_t nsldapi_in_addr_t;
#else
typedef nsldapi_uint_32 nsldapi_in_addr_t;