Oops, the system macro for VMS is OPENSSL_SYS_VMS, not VMS
authorRichard Levitte <levitte@openssl.org>
Sat, 6 Apr 2002 11:58:04 +0000 (11:58 +0000)
committerRichard Levitte <levitte@openssl.org>
Sat, 6 Apr 2002 11:58:04 +0000 (11:58 +0000)
e_os.h

diff --git a/e_os.h b/e_os.h
index 4436495c692c1b2defa445f0898ec7beb2337958..28bef94bbdff8089b147bf01d3aabd28ae97c7c9 100644 (file)
--- a/e_os.h
+++ b/e_os.h
@@ -160,7 +160,7 @@ extern "C" {
 #define closesocket(s)         MacSocket_close(s)
 #define readsocket(s,b,n)      MacSocket_recv((s),(b),(n),true)
 #define writesocket(s,b,n)     MacSocket_send((s),(b),(n))
-#elif defined(VMS)
+#elif defined(OPENSSL_SYS_VMS)
 #define get_last_socket_error() errno
 #define clear_socket_error()    errno=0
 #define ioctlsocket(a,b,c)      ioctl(a,b,c)