Commit 9ba4cc00 authored by Richard Levitte's avatar Richard Levitte
Browse files

Make sure we get the definition of OPENSSL_NO_SOCK.

parent 7b5a6c7a
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -56,8 +56,6 @@
 * [including the GNU Public Licence.]
 */

#ifndef OPENSSL_NO_SOCK

#include <stdio.h>
#include <stdlib.h>
#include <errno.h>
@@ -65,6 +63,8 @@
#include "cryptlib.h"
#include <openssl/bio.h>

#ifndef OPENSSL_NO_SOCK

#ifdef OPENSSL_SYS_WIN16
#define SOCKET_PROTOCOL 0 /* more microsoft stupidity */
#else
+2 −2
Original line number Diff line number Diff line
@@ -56,14 +56,14 @@
 * [including the GNU Public Licence.]
 */

#ifndef OPENSSL_NO_SOCK

#include <stdio.h>
#include <errno.h>
#define USE_SOCKETS
#include "cryptlib.h"
#include <openssl/bio.h>

#ifndef OPENSSL_NO_SOCK

#ifdef OPENSSL_SYS_WIN16
#define SOCKET_PROTOCOL 0 /* more microsoft stupidity */
#else
+2 −2
Original line number Diff line number Diff line
@@ -56,14 +56,14 @@
 * [including the GNU Public Licence.]
 */

#ifndef OPENSSL_NO_SOCK

#include <stdio.h>
#include <errno.h>
#define USE_SOCKETS
#include "cryptlib.h"
#include <openssl/bio.h>

#ifndef OPENSSL_NO_SOCK

#ifdef OPENSSL_SYS_WIN16
#define SOCKET_PROTOCOL 0 /* more microsoft stupidity */
#else
+1 −4
Original line number Diff line number Diff line
@@ -56,8 +56,6 @@
 * [including the GNU Public Licence.]
 */

#ifndef OPENSSL_NO_SOCK

#include <stdio.h>
#include <errno.h>
#define USE_SOCKETS
@@ -302,4 +300,3 @@ int BIO_sock_non_fatal_error(int err)
		}
	return(0);
	}
#endif