summaryrefslogtreecommitdiffstats
path: root/e_os.h
diff options
context:
space:
mode:
authorRich Salz <rsalz@openssl.org>2014-09-24 18:18:19 +0200
committerRich Salz <rsalz@openssl.org>2014-09-25 00:07:29 +0200
commit92c78463720f71e47c251ffa58493e32cd793e13 (patch)
tree45b240a3c720a19f5e1767998b8c6d7d42cfb4b5 /e_os.h
parentRT3425: constant-time evp_enc (diff)
downloadopenssl-92c78463720f71e47c251ffa58493e32cd793e13.tar.xz
openssl-92c78463720f71e47c251ffa58493e32cd793e13.zip
RT3544: Remove MWERKS support
The following #ifdef tests were all removed: __MWERKS__ MAC_OS_pre_X MAC_OS_GUSI_SOURCE MAC_OS_pre_X OPENSSL_SYS_MACINTOSH_CLASSIC OPENSSL_SYS_MACOSX_RHAPSODY Reviewed-by: Andy Polyakov <appro@openssl.org>
Diffstat (limited to 'e_os.h')
-rw-r--r--e_os.h28
1 files changed, 0 insertions, 28 deletions
diff --git a/e_os.h b/e_os.h
index 27b18256b6..64dd3d2e74 100644
--- a/e_os.h
+++ b/e_os.h
@@ -94,20 +94,6 @@ extern "C" {
# define NO_SYSLOG
#endif
-#if defined(OPENSSL_SYS_MACINTOSH_CLASSIC)
-# if macintosh==1
-# ifndef MAC_OS_GUSI_SOURCE
-# define MAC_OS_pre_X
-# define NO_SYS_TYPES_H
-# endif
-# define NO_SYS_PARAM_H
-# define NO_CHMOD
-# define NO_SYSLOG
-# undef DEVRANDOM
-# define GETPID_IS_MEANINGLESS
-# endif
-#endif
-
/********************************************************************
The Microsoft section
********************************************************************/
@@ -157,12 +143,6 @@ extern "C" {
#define closesocket(s) close_s(s)
#define readsocket(s,b,n) read_s(s,b,n)
#define writesocket(s,b,n) send(s,b,n,0)
-#elif defined(MAC_OS_pre_X)
-#define get_last_socket_error() errno
-#define clear_socket_error() errno=0
-#define closesocket(s) MacSocket_close(s)
-#define readsocket(s,b,n) MacSocket_recv((s),(b),(n),true)
-#define writesocket(s,b,n) MacSocket_send((s),(b),(n))
#elif defined(OPENSSL_SYS_VMS)
#define get_last_socket_error() errno
#define clear_socket_error() errno=0
@@ -546,14 +526,6 @@ static unsigned int _strlen31(const char *str)
# define SHUTDOWN2(fd) close_s(fd)
# endif
-# elif defined(MAC_OS_pre_X)
-
-# include "MacSocket.h"
-# define SSLeay_Write(a,b,c) MacSocket_send((a),(b),(c))
-# define SSLeay_Read(a,b,c) MacSocket_recv((a),(b),(c),true)
-# define SHUTDOWN(fd) MacSocket_close(fd)
-# define SHUTDOWN2(fd) MacSocket_close(fd)
-
# elif defined(OPENSSL_SYS_NETWARE)
/* NetWare uses the WinSock2 interfaces by default, but can be configured for BSD
*/