30 lines
812 B
Diff
30 lines
812 B
Diff
From 63c30708db81eb0064f3a3123d5113fddeaf46e4 Mon Sep 17 00:00:00 2001
|
|
From: Jonathan Yong <10walls@gmail.com>
|
|
Date: Sat, 28 Jun 2014 10:05:50 +0800
|
|
Subject: [PATCH 07/12] Cygwin: define RTS_CONTROL_ENABLE and
|
|
DTR_CONTROL_ENABLE
|
|
|
|
---
|
|
gcc/ada/s-oscons-tmplt.c | 5 +++++
|
|
1 file changed, 5 insertions(+)
|
|
|
|
diff --git a/gcc/ada/s-oscons-tmplt.c b/gcc/ada/s-oscons-tmplt.c
|
|
index 97537ef5e94..f0e3ff5582a 100644
|
|
--- a/gcc/ada/s-oscons-tmplt.c
|
|
+++ b/gcc/ada/s-oscons-tmplt.c
|
|
@@ -1041,6 +1041,11 @@ CND(VEOL2, "Alternative EOL")
|
|
|
|
#endif /* HAVE_TERMIOS */
|
|
|
|
+#if defined(__CYGWIN__)
|
|
+#define RTS_CONTROL_ENABLE 0x1
|
|
+#define DTR_CONTROL_ENABLE 0x1
|
|
+#endif
|
|
+
|
|
#if defined(__MINGW32__) || defined(__CYGWIN__)
|
|
CNU(DTR_CONTROL_ENABLE, "Enable DTR flow ctrl")
|
|
CNU(RTS_CONTROL_ENABLE, "Enable RTS flow ctrl")
|
|
--
|
|
2.45.1
|
|
|