diff options
author | Ulf Möller <ulf@openssl.org> | 1999-05-13 13:21:17 +0000 |
---|---|---|
committer | Ulf Möller <ulf@openssl.org> | 1999-05-13 13:21:17 +0000 |
commit | 75e0770d9661d5c1c3a4ce8122a50602eebb4de4 (patch) | |
tree | d0b1c8a5f2b57ec25fabbb327521dfa7c79296df /crypto/bio | |
parent | f7fd2ff72e88f49468a388b9806aceb4f1eacd29 (diff) |
VMS support bug fixes.
Diffstat (limited to 'crypto/bio')
-rw-r--r-- | crypto/bio/b_sock.c | 2 | ||||
-rw-r--r-- | crypto/bio/bss_acpt.c | 4 | ||||
-rw-r--r-- | crypto/bio/bss_conn.c | 4 |
3 files changed, 5 insertions, 5 deletions
diff --git a/crypto/bio/b_sock.c b/crypto/bio/b_sock.c index 07c9edd33c..b8cc795146 100644 --- a/crypto/bio/b_sock.c +++ b/crypto/bio/b_sock.c @@ -596,7 +596,7 @@ int BIO_accept(int sock, char **addr) memset((char *)&from,0,sizeof(from)); len=sizeof(from); - /* Note: under VMS with SOCKETSHR the third parameter is currently + /* Note: under VMS with SOCKETSHR the fourth parameter is currently * of type (int *) whereas under other systems it is (void *) if * you don't have a cast it will choke the compiler: if you do * have a cast then you can either go for (int *) or (void *). diff --git a/crypto/bio/bss_acpt.c b/crypto/bio/bss_acpt.c index e6961f2305..50a4eb41f2 100644 --- a/crypto/bio/bss_acpt.c +++ b/crypto/bio/bss_acpt.c @@ -70,8 +70,8 @@ #define SOCKET_PROTOCOL IPPROTO_TCP #endif -#if (__VMS_VER < 70000000) /* FIONBIO used as a switch to enable ioctl, - and that isn't in VMS < 7.0 */ +#if (defined(VMS) && __VMS_VER < 70000000) +/* FIONBIO used as a switch to enable ioctl, and that isn't in VMS < 7.0 */ #undef FIONBIO #endif diff --git a/crypto/bio/bss_conn.c b/crypto/bio/bss_conn.c index 21c379ed1a..7080cfdd59 100644 --- a/crypto/bio/bss_conn.c +++ b/crypto/bio/bss_conn.c @@ -70,8 +70,8 @@ #define SOCKET_PROTOCOL IPPROTO_TCP #endif -#if (__VMS_VER < 70000000) /* FIONBIO used as a switch to enable ioctl, - and that isn't in VMS < 7.0 */ +#if (defined(VMS) && __VMS_VER < 70000000) +/* FIONBIO used as a switch to enable ioctl, and that isn't in VMS < 7.0 */ #undef FIONBIO #endif |