diff options
author | Sebastian Schuberth <sschuberth@gmail.com> | 2013-09-11 18:02:09 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2013-09-11 11:11:06 -0700 |
commit | fa93bb20d72edf9f7635c63d46101edb206d3d6f (patch) | |
tree | bb22398e467bccb494ac56ed22fecda06f5e8f35 /compat/mingw.c | |
parent | MSVC: fix stat definition hell (diff) | |
download | tgif-fa93bb20d72edf9f7635c63d46101edb206d3d6f.tar.xz |
MinGW: Fix stat definitions to work with MinGW runtime version 4.0
For an overview of changes in mingwrt-4.0 see:
http://sourceforge.net/p/mingw/mingw-org-wsl/ci/4.0.0/tree/NEWS
Signed-off-by: Sebastian Schuberth <sschuberth@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'compat/mingw.c')
-rw-r--r-- | compat/mingw.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/compat/mingw.c b/compat/mingw.c index 22ee9ef1cf..fecb98bcff 100644 --- a/compat/mingw.c +++ b/compat/mingw.c @@ -491,7 +491,6 @@ int mingw_stat(const char *file_name, struct stat *buf) return do_stat_internal(1, file_name, buf); } -#undef fstat int mingw_fstat(int fd, struct stat *buf) { HANDLE fh = (HANDLE)_get_osfhandle(fd); |