diff options
author | Richard Levitte <levitte@openssl.org> | 2002-06-13 20:42:35 +0000 |
---|---|---|
committer | Richard Levitte <levitte@openssl.org> | 2002-06-13 20:42:35 +0000 |
commit | 451dc18f109e4fff1a642976fee7ae7e64af35dc (patch) | |
tree | c4728b949d7511ed666c9f0ef65ec8e7c8957581 /crypto/bio | |
parent | 127dca46a07850204f1432ec6998923eebc341b1 (diff) |
Add support for DJGPP.
PR: 75
Diffstat (limited to 'crypto/bio')
-rw-r--r-- | crypto/bio/b_sock.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/crypto/bio/b_sock.c b/crypto/bio/b_sock.c index dcaef68ea7..45bd7c47e8 100644 --- a/crypto/bio/b_sock.c +++ b/crypto/bio/b_sock.c @@ -484,7 +484,11 @@ int BIO_socket_ioctl(int fd, long type, unsigned long *arg) { int i; +#ifdef __DJGPP__ + i=ioctlsocket(fd,type,(char *)arg); +#else i=ioctlsocket(fd,type,arg); +#endif /* __DJGPP__ */ if (i < 0) SYSerr(SYS_F_IOCTLSOCKET,get_last_socket_error()); return(i); |