diff options
author | Rich Salz <rsalz@akamai.com> | 2014-08-08 16:46:14 -0400 |
---|---|---|
committer | Rich Salz <rsalz@akamai.com> | 2014-08-08 16:54:14 -0400 |
commit | a90081576c94f9f54de1755188a00ccc1760549a (patch) | |
tree | dffbe450e39181c15a9ef5422cbed5916f8af161 /crypto/bio/b_sock.c | |
parent | 0989790b87efcfd40ae6770f11af28a005df28ac (diff) | |
download | openssl-a90081576c94f9f54de1755188a00ccc1760549a.tar.gz |
Remove DJGPP (and therefore WATT32) #ifdef's.
DJGPP is no longer a supported platform. Remove all #ifdef, etc.,
cases that refer to it. DJGPP also #define'd WATT32, so that
is now removed as well.
Diffstat (limited to 'crypto/bio/b_sock.c')
-rw-r--r-- | crypto/bio/b_sock.c | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/crypto/bio/b_sock.c b/crypto/bio/b_sock.c index a026b3e0b0..4544ab209c 100644 --- a/crypto/bio/b_sock.c +++ b/crypto/bio/b_sock.c @@ -494,12 +494,6 @@ int BIO_sock_init(void) } } #endif /* OPENSSL_SYS_WINDOWS */ -#ifdef WATT32 - extern int _watt_do_exit; - _watt_do_exit = 0; /* don't make sock_init() call exit() */ - if (sock_init()) - return (-1); -#endif #if defined(OPENSSL_SYS_NETWARE) && !defined(NETWARE_BSDSOCK) WORD wVerReq; @@ -549,9 +543,6 @@ int BIO_socket_ioctl(int fd, long type, void *arg) { int i; -#ifdef __DJGPP__ - i=ioctlsocket(fd,type,(char *)arg); -#else # if defined(OPENSSL_SYS_VMS) /* 2011-02-18 SMS. * VMS ioctl() can't tolerate a 64-bit "void *arg", but we @@ -574,9 +565,8 @@ int BIO_socket_ioctl(int fd, long type, void *arg) # else /* defined(OPENSSL_SYS_VMS) */ # define ARG arg # endif /* defined(OPENSSL_SYS_VMS) [else] */ - i=ioctlsocket(fd,type,ARG); -#endif /* __DJGPP__ */ + if (i < 0) SYSerr(SYS_F_IOCTLSOCKET,get_last_socket_error()); return(i); |