Skip to content
Snippets Groups Projects
Commit 963bb621 authored by David Woodhouse's avatar David Woodhouse Committed by Rich Salz
Browse files

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: default avatarTim Hudson <tjh@openssl.org>
Reviewed-by: default avatarRich Salz <rsalz@openssl.org>
parent 8731a4fc
No related merge requests found
......@@ -460,10 +460,7 @@ extern int kbhit(void);
# endif
# ifdef USE_SOCKETS
# if defined(WINDOWS) || defined(MSDOS)
/* windows world */
# ifdef OPENSSL_NO_SOCK
# ifdef OPENSSL_NO_SOCK
# define OpenSSL_Write(a,b,c) (-1)
# define OpenSSL_Read(a,b,c) (-1)
# elif !defined(__DJGPP__)
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment