projects
/
openssl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Portability patch for HP MPE/iX. Submitted by Mark Bixby <mark_bixby@hp.com>
[openssl.git]
/
e_os.h
diff --git
a/e_os.h
b/e_os.h
index 487f0b2fb39c480c6c0f23631aca7bd48bff635b..0c0784f9a97274d9056d7983f0f8727e78083735 100644
(file)
--- a/
e_os.h
+++ b/
e_os.h
@@
-275,6
+275,9
@@
extern "C" {
# define NO_SYS_PARAM_H
# else
/* !defined VMS */
# define NO_SYS_PARAM_H
# else
/* !defined VMS */
+# ifdef MPE
+# define NO_SYS_PARAM_H
+# endif
# ifdef OPENSSL_UNISTD
# include OPENSSL_UNISTD
# else
# ifdef OPENSSL_UNISTD
# include OPENSSL_UNISTD
# else
@@
-283,12
+286,16
@@
extern "C" {
# ifndef NO_SYS_TYPES_H
# include <sys/types.h>
# endif
# ifndef NO_SYS_TYPES_H
# include <sys/types.h>
# endif
-# if
def NeXT
+# if
defined(NeXT) || defined(NEWS4)
# define pid_t int /* pid_t is missing on NEXTSTEP/OPENSTEP
* (unless when compiling with -D_POSIX_SOURCE,
* which doesn't work for us) */
# define ssize_t int /* ditto */
# endif
# define pid_t int /* pid_t is missing on NEXTSTEP/OPENSTEP
* (unless when compiling with -D_POSIX_SOURCE,
* which doesn't work for us) */
# define ssize_t int /* ditto */
# endif
+# ifdef NEWS4 /* setvbuf is missing on mips-sony-bsd */
+# define setvbuf(a, b, c, d) setbuffer((a), (b), (d))
+ typedef unsigned long clock_t;
+# endif
# define OPENSSL_CONF "openssl.cnf"
# define SSLEAY_CONF OPENSSL_CONF
# define OPENSSL_CONF "openssl.cnf"
# define SSLEAY_CONF OPENSSL_CONF
@@
-340,7
+347,9
@@
extern HINSTANCE _hInstance;
# ifndef NO_SYS_PARAM_H
# include <sys/param.h>
# endif
# ifndef NO_SYS_PARAM_H
# include <sys/param.h>
# endif
-# include <sys/time.h> /* Needed under linux for FD_XXX */
+# ifndef MPE
+# include <sys/time.h> /* Needed under linux for FD_XXX */
+# endif
# include <netdb.h>
# if defined(VMS) && !defined(__DECC)
# include <netdb.h>
# if defined(VMS) && !defined(__DECC)
@@
-363,6
+372,10
@@
extern HINSTANCE _hInstance;
# include <sys/select.h>
# endif
# include <sys/select.h>
# endif
+# ifdef __QNX__
+# include <sys/select.h>
+# endif
+
# if defined(sun)
# include <sys/filio.h>
# else
# if defined(sun)
# include <sys/filio.h>
# else