diff --git a/src/sigar_format.c b/src/sigar_format.c index 0be1f3a5..d77d8772 100644 --- a/src/sigar_format.c +++ b/src/sigar_format.c @@ -372,12 +372,9 @@ static char *sigar_inet_ntop(int af, const void *src, char *dst, int cnt) } } #define sigar_inet_ntop_errno GetLastError() -#elif !defined(NETWARE) && !defined(__hpux) +#else #define sigar_inet_ntop inet_ntop #define sigar_inet_ntop_errno errno -#else -#define sigar_inet_ntop(af, src, dst, size) NULL -#define sigar_inet_ntop_errno EINVAL #endif SIGAR_DECLARE(int) sigar_net_address_to_string(sigar_t *sigar,