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

e_os.h

diff --git a/e_os.h b/e_os.h
index f70958df87cb8aab49b2401d9b9dbefe4117f25e..9eb6c1ed5e1bc692435c41e1da1019c9caf33cc1 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 */