18861N/A+/**********************************************************************
18861N/A+ * Sun Solais doesn't seem to define LOG_MAKEPRI, so following compatibility code is provided.
18861N/A+ **********************************************************************/
18861N/A+#define LOG_MAKEPRI(f, p) (((f) << 3) | (p))
18861N/A // win32 defines addrinfo but only supports getaddrinfo call on winxp or newer
18861N/A #if !defined(HAVE_GETADDRINFO) && !defined(WIN32)