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: Tim Hudson <tjh@openssl.org> Reviewed-by: Rich Salz <rsalz@openssl.org>
This commit is contained in:
parent
8731a4fcd2
commit
963bb62195
1 changed files with 1 additions and 4 deletions
5
e_os.h
5
e_os.h
|
@ -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__)
|
||||
|
|
Loading…
Reference in a new issue