提交 4a56f749 编写于 作者: B Bodo Möller

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

is activated only when _POSIX_SOURCE is defined).
上级 f95808e8
...@@ -271,8 +271,10 @@ extern "C" { ...@@ -271,8 +271,10 @@ extern "C" {
# include <sys/types.h> # include <sys/types.h>
# endif # endif
# ifdef NeXT # ifdef NeXT
# define pid_t int /* pid_t is missing on NEXTSTEP/OPENSTEP */ # define pid_t int /* pid_t is missing on NEXTSTEP/OPENSTEP
# define ssize_t long * (unless when compiling with -D_POSIX_SOURCE,
* which doesn't work for us) */
# define ssize_t int /* ditto */
# endif # endif
# define OPENSSL_CONF "openssl.cnf" # define OPENSSL_CONF "openssl.cnf"
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册