Bruce Momjian <pgman@candle.pha.pa.us> writes:
> I have the answer. Tru64 netdb.h has:
> #if defined (_SOCKADDR_LEN) || defined (_XOPEN_SOURCE_EXTENDED)
> #define getaddrinfo ngetaddrinfo
> #else
> #define getaddrinfo ogetaddrinfo
> #endif
Seems like the same method we use for testing finite() and other
possible-macros would handle this, then.
regards, tom lane