aboutsummaryrefslogtreecommitdiff
path: root/gdb/tui
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/tui')
-rw-r--r--gdb/tui/tui.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/gdb/tui/tui.c b/gdb/tui/tui.c
index b99e8a0..4c99632 100644
--- a/gdb/tui/tui.c
+++ b/gdb/tui/tui.c
@@ -410,7 +410,9 @@ tui_enable (void)
{
WINDOW *w;
SCREEN *s;
- const char *cap;
+#ifndef __MINGW32__
+ const char *cap;
+#endif
const char *interp;
/* If the top level interpreter is not the console/tui (e.g.,