postgresql/src/include/port/nextstep.h

21 lines
403 B
C

#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
#define JMP_BUF
#define NO_WAITPID
typedef struct mutex slock_t;