bnicholes 01/08/07 16:22:53
Modified: include apr_errno.h Log: Fixed the apr_get_netos_error() macro to allow it to handle Winsock errors for NetWare Revision Changes Path 1.77 +1 -1 apr/include/apr_errno.h Index: apr_errno.h =================================================================== RCS file: /home/cvs/apr/include/apr_errno.h,v retrieving revision 1.76 retrieving revision 1.77 diff -u -r1.76 -r1.77 --- apr_errno.h 2001/08/06 22:05:47 1.76 +++ apr_errno.h 2001/08/07 23:22:52 1.77 @@ -711,7 +711,7 @@ #define apr_get_os_error() (errno) #define apr_set_os_error(e) (errno = (e)) #ifdef NETWARE -#define apr_get_netos_error() (APR_FROM_OS_ERROR(WSAGetLastError())) +#define apr_get_netos_error() (WSAGetLastError()+APR_OS_START_SYSERR) #endif #define APR_STATUS_IS_SUCCESS(s) ((s) == APR_SUCCESS)
