diff options
author | Junio C Hamano <gitster@pobox.com> | 2011-11-15 15:39:33 -0800 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2011-11-15 15:39:33 -0800 |
commit | f0c7fd49c0b9454808486e8c56cd3d9c022d56f2 (patch) | |
tree | 6691eba265690671885be3ff7a0acc52a0d88b59 /compat/mingw.h | |
parent | bc1bbe0c19a6ff39522b4fa3259f34150e308e1f (diff) | |
download | git-f0c7fd49c0b9454808486e8c56cd3d9c022d56f2.tar.gz git-f0c7fd49c0b9454808486e8c56cd3d9c022d56f2.tar.xz |
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/mingw.h')
-rw-r--r-- | compat/mingw.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/compat/mingw.h b/compat/mingw.h index dfb0e8726..fecf0d077 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) |