summaryrefslogtreecommitdiffstats
path: root/crypto/bio/bss_sock.c
diff options
context:
space:
mode:
authorRichard Levitte <levitte@openssl.org>2003-03-20 23:18:32 +0000
committerRichard Levitte <levitte@openssl.org>2003-03-20 23:18:32 +0000
commit9ba4cc007b3af0b5e893716f8fe44943a5e3b234 (patch)
treea04286657bbc8cf19ada1e8242722b5fe18af0ce /crypto/bio/bss_sock.c
parent7b5a6c7a6278eb255ab0f28a72a702bef456f526 (diff)
Make sure we get the definition of OPENSSL_NO_SOCK.
Diffstat (limited to 'crypto/bio/bss_sock.c')
-rw-r--r--crypto/bio/bss_sock.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/crypto/bio/bss_sock.c b/crypto/bio/bss_sock.c
index 2c1c405ec7..7207a1fb87 100644
--- a/crypto/bio/bss_sock.c
+++ b/crypto/bio/bss_sock.c
@@ -56,8 +56,6 @@
* [including the GNU Public Licence.]
*/
-#ifndef OPENSSL_NO_SOCK
-
#include <stdio.h>
#include <errno.h>
#define USE_SOCKETS
@@ -279,7 +277,7 @@ int BIO_sock_non_fatal_error(int err)
#endif
#ifdef EAGAIN
-#if EWOULDBLOCK != EAGAIN
+# if EWOULDBLOCK != EAGAIN
case EAGAIN:
# endif
#endif
@@ -302,4 +300,3 @@ int BIO_sock_non_fatal_error(int err)
}
return(0);
}
-#endif