summaryrefslogtreecommitdiff
path: root/config.mak.uname
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <gitster@pobox.com>2016-05-29 18:06:41 -0700
committerLibravatar Junio C Hamano <gitster@pobox.com>2016-05-29 18:06:41 -0700
commit07ffe8716f8be04d838915402b482c5ee03227d4 (patch)
tree77ee832c97914206ac78692ddf08cc51198fc648 /config.mak.uname
parentSync with maint (diff)
parentmingw: make isatty() recognize MSYS2's pseudo terminals (/dev/pty*) (diff)
downloadtgif-07ffe8716f8be04d838915402b482c5ee03227d4.tar.xz
Merge branch 'kb/msys2-tty'
The "are we talking with TTY, doing an interactive session?" detection has been updated to work better for "Git for Windows". * kb/msys2-tty: mingw: make isatty() recognize MSYS2's pseudo terminals (/dev/pty*)
Diffstat (limited to 'config.mak.uname')
-rw-r--r--config.mak.uname3
1 files changed, 2 insertions, 1 deletions
diff --git a/config.mak.uname b/config.mak.uname
index 40d6b29eee..a88f13989a 100644
--- a/config.mak.uname
+++ b/config.mak.uname
@@ -557,7 +557,8 @@ else
BASIC_LDFLAGS += -Wl,--large-address-aware
endif
CC = gcc
- COMPAT_CFLAGS += -D__USE_MINGW_ANSI_STDIO=0
+ COMPAT_CFLAGS += -D__USE_MINGW_ANSI_STDIO=0 -DDETECT_MSYS_TTY
+ EXTLIBS += -lntdll
INSTALL = /bin/install
NO_R_TO_GCC_LINKER = YesPlease
INTERNAL_QSORT = YesPlease