summaryrefslogtreecommitdiff
path: root/e_os.h
diff options
context:
space:
mode:
authorRichard Levitte <levitte@openssl.org>2000-09-14 12:48:48 +0000
committerRichard Levitte <levitte@openssl.org>2000-09-14 12:48:48 +0000
commit72660f5f15fcd71215193f993dd95da0d130168a (patch)
treec934b5435b313cebadb7895167473c4c635f3caf /e_os.h
parentbace21247493eb38870d2585f0e643bdc550f60a (diff)
downloadopenssl-new-72660f5f15fcd71215193f993dd95da0d130168a.tar.gz
Add a configuration for Sony News 4.
Submitted by NAKAJI Hiroyuki <nakaji@tutrp.tut.ac.jp>
Diffstat (limited to 'e_os.h')
-rw-r--r--e_os.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/e_os.h b/e_os.h
index 3af6efb0e0..77efc6e35b 100644
--- a/e_os.h
+++ b/e_os.h
@@ -283,12 +283,16 @@ extern "C" {
# ifndef NO_SYS_TYPES_H
# include <sys/types.h>
# endif
-# ifdef 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
+# 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