Code

Windows: A pipe() replacement whose ends are not inherited to children.
[git.git] / compat / mingw.h
index 3ddef11edae0eb0a9bc4216134630231228afc00..0ce9c96f93a57d18588c4e0ba48957fa70ba1d71 100644 (file)
@@ -122,14 +122,11 @@ static inline int waitpid(pid_t pid, unsigned *status, unsigned options)
        return -1;
 }
 
-
-static inline int pipe(int filedes[2])
-{ return _pipe(filedes, 8192, 0); }
-
 /*
  * implementations of missing functions
  */
 
+int pipe(int filedes[2]);
 unsigned int sleep (unsigned int seconds);
 int mkstemp(char *template);
 int gettimeofday(struct timeval *tv, void *tz);