Code

vcs-svn: Check for errors from open()
[git.git] / compat / mingw.h
index a2213b39118f6ee24f94446891c6b43035744c68..83e35e833b7f214e5d10a3e74a75fb17d80c2e13 100644 (file)
@@ -256,6 +256,8 @@ pid_t mingw_spawnvpe(const char *cmd, const char **argv, char **env,
                     int fhin, int fhout, int fherr);
 void mingw_execvp(const char *cmd, char *const *argv);
 #define execvp mingw_execvp
+void mingw_execv(const char *cmd, char *const *argv);
+#define execv mingw_execv
 
 static inline unsigned int git_ntohl(unsigned int x)
 { return (unsigned int)ntohl(x); }