From 1059832ca04505a4e579c9ada1de0bf7dd4771d2 Mon Sep 17 00:00:00 2001 From: Nguyễn Thái Ngọc Duy Date: Tue, 13 Apr 2010 20:32:13 +0200 Subject: win32: mingw.h: add WCOREDUMP an WUNTRACED --- include/mingw.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/include/mingw.h b/include/mingw.h index 0fbc8f528..53a0a0d67 100644 --- a/include/mingw.h +++ b/include/mingw.h @@ -112,6 +112,8 @@ struct sigaction { int sigaction(int sig, struct sigaction *in, struct sigaction *out); sighandler_t mingw_signal(int sig, sighandler_t handler); NOIMPL(sigfillset,int *mask UNUSED_PARAM); +NOIMPL(FAST_FUNC sigprocmask_allsigs, int how UNUSED_PARAM); +NOIMPL(FAST_FUNC sigaction_set,int signo UNUSED_PARAM, const struct sigaction *sa UNUSED_PARAM); #define signal mingw_signal /* @@ -143,6 +145,7 @@ int winansi_fprintf(FILE *stream, const char *format, ...) __attribute__((format #define WEXITSTATUS(x) ((x) & 0xff) #define WIFSIGNALED(x) ((unsigned)(x) > 259) #define WTERMSIG(x) ((x) & 0x7f) +#define WCOREDUMP(x) 0 int clearenv(void); char *mingw_getenv(const char *name); @@ -243,6 +246,7 @@ int setitimer(int type, struct itimerval *in, struct itimerval *out); * sys/wait.h */ #define WNOHANG 1 +#define WUNTRACED 2 int waitpid(pid_t pid, int *status, unsigned options); /* -- cgit v1.2.3-55-g6feb