diff options
author | Richard Levitte <levitte@openssl.org> | 2004-06-28 13:09:34 +0000 |
---|---|---|
committer | Richard Levitte <levitte@openssl.org> | 2004-06-28 13:09:34 +0000 |
commit | ae6a9be99610d17322b177aa17dd66c86a3c3c2a (patch) | |
tree | 29b18aa04bccb52beefff85e5377f9ac033af5eb /e_os.h | |
parent | 07e88f6269b97909ab3964e3a0f33f3cd8b0674e (diff) | |
download | openssl-new-ae6a9be99610d17322b177aa17dd66c86a3c3c2a.tar.gz |
Recent (and not so recent) changes from HEAD.
Diffstat (limited to 'e_os.h')
-rw-r--r-- | e_os.h | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -181,6 +181,11 @@ extern "C" { #define closesocket(s) close(s) #define readsocket(s,b,n) read((s),(b),(n)) #define writesocket(s,b,n) write((s),(char *)(b),(n)) +#elif defined(OPENSSL_SYS_NETWARE) +#define get_last_socket_error() WSAGetLastError() +#define clear_socket_error() WSASetLastError(0) +#define readsocket(s,b,n) recv((s),(b),(n),0) +#define writesocket(s,b,n) send((s),(b),(n),0) #else #define get_last_socket_error() errno #define clear_socket_error() errno=0 |