summaryrefslogtreecommitdiffstats
path: root/crypto/bio/b_sock.c
diff options
context:
space:
mode:
authorRichard Levitte <levitte@openssl.org>2002-06-13 20:42:35 +0000
committerRichard Levitte <levitte@openssl.org>2002-06-13 20:42:35 +0000
commit451dc18f109e4fff1a642976fee7ae7e64af35dc (patch)
treec4728b949d7511ed666c9f0ef65ec8e7c8957581 /crypto/bio/b_sock.c
parent127dca46a07850204f1432ec6998923eebc341b1 (diff)
Add support for DJGPP.
PR: 75
Diffstat (limited to 'crypto/bio/b_sock.c')
-rw-r--r--crypto/bio/b_sock.c4
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);