Don't use HAVE_STRUCT_ADDRINFO as a guide to whether netdb.h defines
Tom Lane <tgl@sss.pgh.pa.us>
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
| Path | Change | +/− |
|---|---|---|
| src/include/getaddrinfo.h | modified | +34 −16 |