diff options
Diffstat (limited to 'src/port/nextstep.h')
-rw-r--r-- | src/port/nextstep.h | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/src/port/nextstep.h b/src/port/nextstep.h new file mode 100644 index 00000000000..d7fbae858c6 --- /dev/null +++ b/src/port/nextstep.h @@ -0,0 +1,17 @@ +# 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 + +# define JMP_BUF +# define NO_WAITPID + typedef struct mutex slock_t; |