提交 9ba4cc00 编写于 作者: R Richard Levitte

Make sure we get the definition of OPENSSL_NO_SOCK.

上级 7b5a6c7a
......@@ -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
......
......@@ -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
......
......@@ -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
......
......@@ -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
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册