summaryrefslogtreecommitdiff
path: root/compat
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2011-11-15 23:39:33 (GMT)
committerJunio C Hamano <gitster@pobox.com>2011-11-15 23:39:33 (GMT)
commitf0c7fd49c0b9454808486e8c56cd3d9c022d56f2 (patch)
tree6691eba265690671885be3ff7a0acc52a0d88b59 /compat
parentbc1bbe0c19a6ff39522b4fa3259f34150e308e1f (diff)
downloadgit-f0c7fd49c0b9454808486e8c56cd3d9c022d56f2.zip
git-f0c7fd49c0b9454808486e8c56cd3d9c022d56f2.tar.gz
git-f0c7fd49c0b9454808486e8c56cd3d9c022d56f2.tar.bz2
Revert "upload-archive: use start_command instead of fork"
This reverts commit c09cd77ea2fe3580b33918a99fe138d239ac2aaf, expecting a better version to be rerolled soon.
Diffstat (limited to 'compat')
-rw-r--r--compat/mingw.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/compat/mingw.h b/compat/mingw.h
index dfb0e87..fecf0d0 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)