From 963bb62195109fb863dc4d88c7470ce7f9af25ac Mon Sep 17 00:00:00 2001 From: David Woodhouse Date: Sat, 20 Feb 2016 15:07:32 +0000 Subject: [PATCH] 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 Reviewed-by: Rich Salz --- e_os.h | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/e_os.h b/e_os.h index 41ab7bb8d1..870c7a7e22 100644 --- a/e_os.h +++ b/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__) -- GitLab