diff options
Diffstat (limited to 'network_io/unix/sa_common.c')
-rw-r--r-- | network_io/unix/sa_common.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/network_io/unix/sa_common.c b/network_io/unix/sa_common.c index e199ee235..fe8b6aaef 100644 --- a/network_io/unix/sa_common.c +++ b/network_io/unix/sa_common.c @@ -85,11 +85,15 @@ struct apr_ipsubnet_t { #endif }; +#ifndef NETWARE #ifdef HAVE_SET_H_ERRNO #define SET_H_ERRNO(newval) set_h_errno(newval) #else #define SET_H_ERRNO(newval) h_errno = (newval) #endif +#else +#define SET_H_ERRNO(newval) +#endif #if APR_HAS_THREADS && !defined(GETHOSTBYNAME_IS_THREAD_SAFE) && \ defined(HAVE_GETHOSTBYNAME_R) |