Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
mingw: support waitpid with pid > 0 and WNOHANG
[gitweb.git]
/
compat
/
mingw.h
diff --git
a/compat/mingw.h
b/compat/mingw.h
index 7c4eeea38cd52bc6b719758f6346c0b9dcb96220..379d7bff2cf35ad0829dbf7a0a5cc27986d7578c 100644
(file)
--- a/
compat/mingw.h
+++ b/
compat/mingw.h
@@
-140,6
+140,7
@@
static inline int mingw_unlink(const char *pathname)
}
#define unlink mingw_unlink
+#define WNOHANG 1
pid_t waitpid(pid_t pid, int *status, unsigned options);
#ifndef NO_OPENSSL