diff options
author | Bodo Möller <bodo@openssl.org> | 2000-03-11 01:29:14 +0000 |
---|---|---|
committer | Bodo Möller <bodo@openssl.org> | 2000-03-11 01:29:14 +0000 |
commit | 4a56f7493c883ea220c47a0c394cec4eff498af1 (patch) | |
tree | 61f4413b2a9b2e52422690a9f0ec310d76bb5803 | |
parent | f95808e8a5dde9699a852c0376508f5472fff8c6 (diff) | |
download | openssl-4a56f7493c883ea220c47a0c394cec4eff498af1.tar.gz |
On NeXT, ssize_t is int, not long (see <sys/types.h> -- the definition
is activated only when _POSIX_SOURCE is defined).
-rw-r--r-- | e_os.h | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -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" |