diff options
Diffstat (limited to 'src/include/port/nextstep.h')
-rw-r--r-- | src/include/port/nextstep.h | 36 |
1 files changed, 19 insertions, 17 deletions
diff --git a/src/include/port/nextstep.h b/src/include/port/nextstep.h index ca078ab10d4..f893b48b03c 100644 --- a/src/include/port/nextstep.h +++ b/src/include/port/nextstep.h @@ -1,18 +1,20 @@ -# include <libc.h> -# include <sys/ioctl.h> -# if defined(__STRICT_ANSI__) -# define isascii(c) ((unsigned)(c)<=0177) -# endif - extern char* strdup (const char* string); -# ifndef _POSIX_SOURCE - typedef unsigned short mode_t; - typedef int sigset_t; -# define SIG_BLOCK 00 -# define SIG_UNBLOCK 01 -# define SIG_SETMASK 02 -# define NEED_SIG_JMP -# endif +#include <libc.h> +#include <sys/ioctl.h> +#if defined(__STRICT_ANSI__) +#define isascii(c) ((unsigned)(c)<=0177) +#endif +extern char *strdup(const char *string); -# define JMP_BUF -# define NO_WAITPID - typedef struct mutex slock_t; +#ifndef _POSIX_SOURCE +typedef unsigned short mode_t; +typedef int sigset_t; + +#define SIG_BLOCK 00 +#define SIG_UNBLOCK 01 +#define SIG_SETMASK 02 +#define NEED_SIG_JMP +#endif + +#define JMP_BUF +#define NO_WAITPID +typedef struct mutex slock_t; |