aboutsummaryrefslogtreecommitdiff
path: root/gdb/terminal.h
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/terminal.h')
-rw-r--r--gdb/terminal.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/gdb/terminal.h b/gdb/terminal.h
index 720fd4a..87a1aee 100644
--- a/gdb/terminal.h
+++ b/gdb/terminal.h
@@ -58,4 +58,10 @@ public:
private:
serial_ttystate m_ttystate;
};
+
+#ifdef USE_WIN32API
+/* Set translation mode of stdout/stderr to binary. */
+extern void set_output_translation_mode_binary ();
+#endif
+
#endif /* GDB_TERMINAL_H */