Make sure ssize_t is defined on SunOS4.
authorRichard Levitte <levitte@openssl.org>
Thu, 12 Jun 2003 00:56:33 +0000 (00:56 +0000)
committerRichard Levitte <levitte@openssl.org>
Thu, 12 Jun 2003 00:56:33 +0000 (00:56 +0000)
PR: 585

e_os.h

diff --git a/e_os.h b/e_os.h
index f7d09c52954505bc40c3c5c15ccd7cff7a158088..b601e9333e09efa9ba4375473b4e8f3876b3eac1 100644 (file)
--- a/e_os.h
+++ b/e_os.h
@@ -331,6 +331,8 @@ extern "C" {
 #      define pid_t int /* pid_t is missing on NEXTSTEP/OPENSTEP
                          * (unless when compiling with -D_POSIX_SOURCE,
                          * which doesn't work for us) */
+#    endif
+#    if defined(NeXT) || defined(OPENSSL_SYS_NEWS4) || defined(OPENSSL_SYS_SUNOS)
 #      define ssize_t int /* ditto */
 #    endif
 #    ifdef OPENSSL_SYS_NEWS4 /* setvbuf is missing on mips-sony-bsd */