From b215f8a500ebad7a76cbdaa29ef9cf88066e1e86 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/18] 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 2a1be803b41..ceaef9e7f69 100644
--- a/gcc/ada/s-oscons-tmplt.c
+++ b/gcc/ada/s-oscons-tmplt.c
@@ -1007,6 +1007,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.28.0

