From 37b1f8bd6260ab7d07dcc5c16f2ed88941278e82 Mon Sep 17 00:00:00 2001 From: Rich Salz Date: Mon, 7 Mar 2016 15:32:18 -0500 Subject: [PATCH] Revert "Allow OPENSSL_NO_SOCK in e_os.h even for non-Windows/DOS platforms" This reverts commit 963bb62195109fb863dc4d88c7470ce7f9af25ac. Reviewed-by: Tim Hudson --- e_os.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/e_os.h b/e_os.h index 870c7a7e22..41ab7bb8d1 100644 --- a/e_os.h +++ b/e_os.h @@ -460,7 +460,10 @@ extern int kbhit(void); # endif # ifdef USE_SOCKETS -# ifdef OPENSSL_NO_SOCK +# if defined(WINDOWS) || defined(MSDOS) + /* windows world */ + +# ifdef OPENSSL_NO_SOCK # define OpenSSL_Write(a,b,c) (-1) # define OpenSSL_Read(a,b,c) (-1) # elif !defined(__DJGPP__)