From f0c7fd49c0b9454808486e8c56cd3d9c022d56f2 Mon Sep 17 00:00:00 2001 From: Junio C Hamano Date: Tue, 15 Nov 2011 15:39:33 -0800 Subject: Revert "upload-archive: use start_command instead of fork" This reverts commit c09cd77ea2fe3580b33918a99fe138d239ac2aaf, expecting a better version to be rerolled soon. --- compat/mingw.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'compat/mingw.h') diff --git a/compat/mingw.h b/compat/mingw.h index dfb0e87263..fecf0d0776 100644 --- a/compat/mingw.h +++ b/compat/mingw.h @@ -85,6 +85,8 @@ static inline int symlink(const char *oldpath, const char *newpath) { errno = ENOSYS; return -1; } static inline int fchmod(int fildes, mode_t mode) { errno = ENOSYS; return -1; } +static inline pid_t fork(void) +{ errno = ENOSYS; return -1; } static inline unsigned int alarm(unsigned int seconds) { return 0; } static inline int fsync(int fd) -- cgit v1.2.1