mirror of
https://github.com/openssl/openssl.git
synced 2025-02-17 14:32:04 +08:00
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:
parent
f95808e8a5
commit
4a56f7493c
6
e_os.h
6
e_os.h
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user