Code

mingw: support waitpid with pid > 0 and WNOHANG
[git.git] / compat / mingw.h
index 7c4eeea38cd52bc6b719758f6346c0b9dcb96220..379d7bff2cf35ad0829dbf7a0a5cc27986d7578c 100644 (file)
@@ -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