Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.kernel.org/pub/scm/git/git.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2018-11-13 16:37:20 +0300
committerJunio C Hamano <gitster@pobox.com>2018-11-13 16:37:20 +0300
commitfbfdc07511283a111192e32970bee909016b47d2 (patch)
tree38c32f8ffcde50579a993e8a06163e688c1f284a /compat/mingw.h
parentbce4fc60caca82af9e02983abcbbc348d2aadfe4 (diff)
parentff8978d533207f472b183223d88786b1053f1989 (diff)
Merge branch 'js/mingw-isatty-and-dup2'
Windows fix. * js/mingw-isatty-and-dup2: mingw: fix isatty() after dup2()
Diffstat (limited to 'compat/mingw.h')
-rw-r--r--compat/mingw.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/compat/mingw.h b/compat/mingw.h
index 4c14e30835..a577df0d74 100644
--- a/compat/mingw.h
+++ b/compat/mingw.h
@@ -406,6 +406,9 @@ int mingw_raise(int sig);
int winansi_isatty(int fd);
#define isatty winansi_isatty
+int winansi_dup2(int oldfd, int newfd);
+#define dup2 winansi_dup2
+
void winansi_init(void);
HANDLE winansi_get_osfhandle(int fd);