summaryrefslogtreecommitdiff
path: root/os/windows/posix/include/sys/wait.h
diff options
context:
space:
mode:
Diffstat (limited to 'os/windows/posix/include/sys/wait.h')
-rw-r--r--os/windows/posix/include/sys/wait.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/os/windows/posix/include/sys/wait.h b/os/windows/posix/include/sys/wait.h
index 5b8fd3ae..ac50aa86 100644
--- a/os/windows/posix/include/sys/wait.h
+++ b/os/windows/posix/include/sys/wait.h
@@ -5,7 +5,7 @@
#define WIFEXITED(a) 0
#define WTERMSIG(a) 0
#define WEXITSTATUS(a) 0
-#define WNOHANG 0
+#define WNOHANG 1
pid_t waitpid(pid_t, int *stat_loc, int options);