Search Postgresql Archives

Re: [HACKERS] [PATCH] Better way to check for getaddrinfo

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Bruce Momjian <pgman@xxxxxxxxxxxxxxxx> 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


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux