summaryrefslogtreecommitdiff
path: root/os/windows/posix/include
diff options
context:
space:
mode:
Diffstat (limited to 'os/windows/posix/include')
-rw-r--r--os/windows/posix/include/sys/uio.h4
-rw-r--r--os/windows/posix/include/sys/wait.h2
2 files changed, 3 insertions, 3 deletions
diff --git a/os/windows/posix/include/sys/uio.h b/os/windows/posix/include/sys/uio.h
index 25f83d60..402e988b 100644
--- a/os/windows/posix/include/sys/uio.h
+++ b/os/windows/posix/include/sys/uio.h
@@ -4,8 +4,8 @@
#include <inttypes.h>
#include <unistd.h>
- struct iovec
- {
+struct iovec
+{
void *iov_base; /* Base address of a memory region for input or output */
size_t iov_len; /* The size of the memory pointed to by iov_base */
};
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);