aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/mingw.h4
1 files changed, 4 insertions, 0 deletions
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 {
112int sigaction(int sig, struct sigaction *in, struct sigaction *out); 112int sigaction(int sig, struct sigaction *in, struct sigaction *out);
113sighandler_t mingw_signal(int sig, sighandler_t handler); 113sighandler_t mingw_signal(int sig, sighandler_t handler);
114NOIMPL(sigfillset,int *mask UNUSED_PARAM); 114NOIMPL(sigfillset,int *mask UNUSED_PARAM);
115NOIMPL(FAST_FUNC sigprocmask_allsigs, int how UNUSED_PARAM);
116NOIMPL(FAST_FUNC sigaction_set,int signo UNUSED_PARAM, const struct sigaction *sa UNUSED_PARAM);
115 117
116#define signal mingw_signal 118#define signal mingw_signal
117/* 119/*
@@ -143,6 +145,7 @@ int winansi_fprintf(FILE *stream, const char *format, ...) __attribute__((format
143#define WEXITSTATUS(x) ((x) & 0xff) 145#define WEXITSTATUS(x) ((x) & 0xff)
144#define WIFSIGNALED(x) ((unsigned)(x) > 259) 146#define WIFSIGNALED(x) ((unsigned)(x) > 259)
145#define WTERMSIG(x) ((x) & 0x7f) 147#define WTERMSIG(x) ((x) & 0x7f)
148#define WCOREDUMP(x) 0
146 149
147int clearenv(void); 150int clearenv(void);
148char *mingw_getenv(const char *name); 151char *mingw_getenv(const char *name);
@@ -243,6 +246,7 @@ int setitimer(int type, struct itimerval *in, struct itimerval *out);
243 * sys/wait.h 246 * sys/wait.h
244 */ 247 */
245#define WNOHANG 1 248#define WNOHANG 1
249#define WUNTRACED 2
246int waitpid(pid_t pid, int *status, unsigned options); 250int waitpid(pid_t pid, int *status, unsigned options);
247 251
248/* 252/*