OSDN Git Service

Don't use HAVE_STRUCT_ADDRINFO as a guide to whether netdb.h defines
authorTom Lane <tgl@sss.pgh.pa.us>
Thu, 7 Aug 2003 16:45:21 +0000 (16:45 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Thu, 7 Aug 2003 16:45:21 +0000 (16:45 +0000)
commitd862045dfc9ae86358a38749863a5f94f7c2e834
tree50117ab75c51d6be5e25d89558a00c90367d60ef
parentd8295603c8f02f66fb1388480e11e9362f1688c2
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.
src/include/getaddrinfo.h