On NeXT, ssize_t is int, not long (see <sys/types.h> -- the definition

is activated only when _POSIX_SOURCE is defined).
This commit is contained in:
Bodo Möller 2000-03-11 01:29:14 +00:00
parent f95808e8a5
commit 4a56f7493c

6
e_os.h
View File

@ -271,8 +271,10 @@ extern "C" {
# include <sys/types.h>
# 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"