From 4a56f7493c883ea220c47a0c394cec4eff498af1 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Bodo=20M=C3=B6ller?= Date: Sat, 11 Mar 2000 01:29:14 +0000 Subject: [PATCH] On NeXT, ssize_t is int, not long (see -- the definition is activated only when _POSIX_SOURCE is defined). --- e_os.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/e_os.h b/e_os.h index 869a63dccf..7f5f62d113 100644 --- a/e_os.h +++ b/e_os.h @@ -271,8 +271,10 @@ extern "C" { # include # endif # ifdef NeXT -# define pid_t int /* pid_t is missing on NEXTSTEP/OPENSTEP */ -# define ssize_t long +# 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 OPENSSL_CONF "openssl.cnf" -- 2.34.1