提交 963bb621 编写于 作者: D David Woodhouse 提交者: Rich Salz

Allow OPENSSL_NO_SOCK in e_os.h even for non-Windows/DOS platforms

UEFI needs this too. Don't keep it only in the Windows/DOS ifdef block.
Reviewed-by: NTim Hudson <tjh@openssl.org>
Reviewed-by: NRich Salz <rsalz@openssl.org>
上级 8731a4fc
...@@ -460,10 +460,7 @@ extern int kbhit(void); ...@@ -460,10 +460,7 @@ extern int kbhit(void);
# endif # endif
# ifdef USE_SOCKETS # ifdef USE_SOCKETS
# if defined(WINDOWS) || defined(MSDOS) # ifdef OPENSSL_NO_SOCK
/* windows world */
# ifdef OPENSSL_NO_SOCK
# define OpenSSL_Write(a,b,c) (-1) # define OpenSSL_Write(a,b,c) (-1)
# define OpenSSL_Read(a,b,c) (-1) # define OpenSSL_Read(a,b,c) (-1)
# elif !defined(__DJGPP__) # elif !defined(__DJGPP__)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册