diff options
author | bnicholes <bnicholes@13f79535-47bb-0310-9956-ffa450edef68> | 2002-09-10 16:40:13 +0000 |
---|---|---|
committer | bnicholes <bnicholes@13f79535-47bb-0310-9956-ffa450edef68> | 2002-09-10 16:40:13 +0000 |
commit | a32a849995e54c5ce2c7145b7496118bab04844e (patch) | |
tree | 72b5c88472d833c406b6c2ce42d6c66ef5b583e0 | |
parent | ab99ddb3dddb97a6241dfa4ff0d7d7131b482b45 (diff) | |
download | libapr-a32a849995e54c5ce2c7145b7496118bab04844e.tar.gz |
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
-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) |