From b317819b2e74f1f84925695596aa3c7487a2264d Mon Sep 17 00:00:00 2001 From: Rich Salz Date: Wed, 17 Dec 2014 17:24:51 -0500 Subject: RT3548: Remove some obsolete platforms This commit removes BEOS. Reviewed-by: Richard Levitte --- e_os.h | 19 +------------------ 1 file changed, 1 insertion(+), 18 deletions(-) (limited to 'e_os.h') diff --git a/e_os.h b/e_os.h index d0217f1863..6f5edfba2a 100644 --- a/e_os.h +++ b/e_os.h @@ -157,13 +157,6 @@ extern "C" { #define closesocket(s) close(s) #define readsocket(s,b,n) read((s),(b),(n)) #define writesocket(s,b,n) write((s),(char *)(b),(n)) -#elif defined(OPENSSL_SYS_BEOS_R5) -#define get_last_socket_error() errno -#define clear_socket_error() errno=0 -#define FIONBIO SO_NONBLOCK -#define ioctlsocket(a,b,c) setsockopt((a),SOL_SOCKET,(b),(c),sizeof(*(c))) -#define readsocket(s,b,n) recv((s),(b),(n),0) -#define writesocket(s,b,n) send((s),(b),(n),0) #elif defined(OPENSSL_SYS_NETWARE) #if defined(NETWARE_BSDSOCK) #define get_last_socket_error() errno @@ -568,10 +561,8 @@ static __inline unsigned int _strlen31(const char *str) # include /* Added for FIONBIO under unixware */ # endif # include -# if !defined(OPENSSL_SYS_BEOS_R5) # include # endif -# endif # if defined(NeXT) || defined(_NEXT_SOURCE) # include @@ -619,7 +610,7 @@ static __inline unsigned int _strlen31(const char *str) * versions. */ # if !defined(OPENSSL_USE_IPV6) -# if defined(AF_INET6) && !defined(OPENSSL_SYS_BEOS_BONE) && !defined(NETWARE_CLIB) +# if defined(AF_INET6) && !defined(NETWARE_CLIB) # define OPENSSL_USE_IPV6 1 # else # define OPENSSL_USE_IPV6 0 @@ -714,14 +705,6 @@ struct servent *getservbyname(const char *name, const char *proto); #endif /* end vxworks */ -/* beos */ -#if defined(OPENSSL_SYS_BEOS_R5) -#define SO_ERROR 0 -#define NO_SYS_UN -#define IPPROTO_IP 0 -#include -#endif - #if !defined(inline) && !defined(__cplusplus) # if defined(__STDC_VERSION__) && __STDC_VERSION__>=199901L /* do nothing, inline works */ -- cgit v1.2.3