From a32a849995e54c5ce2c7145b7496118bab04844e Mon Sep 17 00:00:00 2001 From: bnicholes Date: Tue, 10 Sep 2002 16:40:13 +0000 Subject: Can not set h_errno on NetWare git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@63856 13f79535-47bb-0310-9956-ffa450edef68 --- network_io/unix/sa_common.c | 4 ++++ 1 file changed, 4 insertions(+) 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) -- cgit v1.2.1