Don't use HAVE_STRUCT_ADDRINFO as a guide to whether netdb.h defines

Tom Lane <tgl@sss.pgh.pa.us>

Commit: d862045dfc9ae86358a38749863a5f94f7c2e834
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2003-08-07T16:45:21Z
Releases: 7.4.1
Don't use HAVE_STRUCT_ADDRINFO as a guide to whether netdb.h defines
macros like AI_NUMERICHOST; instead, test the macros individually.
Should fix recent reports of trouble on AIX and Unixware.

Files

PathChange+/−
src/include/getaddrinfo.h modified +34 −16