summaryrefslogtreecommitdiff
path: root/e_os.h
diff options
context:
space:
mode:
authorAndy Polyakov <appro@openssl.org>1999-12-26 22:46:49 +0000
committerAndy Polyakov <appro@openssl.org>1999-12-26 22:46:49 +0000
commit76997b7dd0011e23fb5ed3a49aa693b1fc33bfb6 (patch)
tree93c38a8daaad6522d309e10c0d1b7d5d69864de0 /e_os.h
parente6f3c5850e64145eaecdcf44737e873530f7d37b (diff)
downloadopenssl-new-76997b7dd0011e23fb5ed3a49aa693b1fc33bfb6.tar.gz
MacOS updates. Initial support for GUSI (MacOS socket implementation)
is added.
Diffstat (limited to 'e_os.h')
-rw-r--r--e_os.h10
1 files changed, 7 insertions, 3 deletions
diff --git a/e_os.h b/e_os.h
index f651b32fd5..fa2a117762 100644
--- a/e_os.h
+++ b/e_os.h
@@ -84,8 +84,11 @@ extern "C" {
#if defined(__MWERKS__) && defined(macintosh)
# if macintosh==1
-# define MAC_OS_pre_X
-# define NO_SYS_TYPES_H
+# 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
@@ -249,6 +252,7 @@ extern "C" {
__VMS_EXIT |= 0x10000000; \
return(n); } while(0)
# endif
+# define NO_SYS_PARAM_H
# else
/* !defined VMS */
# ifdef OPENSSL_UNISTD
@@ -307,7 +311,7 @@ extern HINSTANCE _hInstance;
# else
-# ifndef VMS
+# ifndef NO_SYS_PARAM_H
# include <sys/param.h>
# endif
# include <sys/time.h> /* Needed under linux for FD_XXX */