aboutsummaryrefslogtreecommitdiff
path: root/gdb/tui/tui-io.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/tui/tui-io.c')
-rw-r--r--gdb/tui/tui-io.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/gdb/tui/tui-io.c b/gdb/tui/tui-io.c
index 56e9dba..a597f37 100644
--- a/gdb/tui/tui-io.c
+++ b/gdb/tui/tui-io.c
@@ -113,7 +113,9 @@ key_is_command_char (int ch)
#undef TUI_USE_PIPE_FOR_READLINE. */
/* For gdb 5.3, prefer to continue the pipe hack as a backup wheel. */
+#ifdef HAVE_PIPE
#define TUI_USE_PIPE_FOR_READLINE
+#endif
/* #undef TUI_USE_PIPE_FOR_READLINE */
/* TUI output files. */