From: David Woodhouse Date: Sat, 20 Feb 2016 15:07:32 +0000 (+0000) Subject: Allow OPENSSL_NO_SOCK in e_os.h even for non-Windows/DOS platforms X-Git-Tag: OpenSSL_1_1_0-pre4~301 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=963bb62195;p=openssl 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 --- 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__)