Skip to content

Commit

Permalink
On NeXT, ssize_t is int, not long (see <sys/types.h> -- the definition
Browse files Browse the repository at this point in the history
is activated only when _POSIX_SOURCE is defined).
  • Loading branch information
45264 committed Mar 11, 2000
1 parent f95808e commit 4a56f74
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions e_os.h
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 4a56f74

Please sign in to comment.