Skip to content

Commit 263b4ea

Browse files
Blackhexgithub-actions
authored andcommitted
0005-Cygwin-define-RTS_CONTROL_ENABLE-and-DTR_CONTROL_ENA.patch
1 parent 1e79c9f commit 263b4ea

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

gcc/ada/s-oscons-tmplt.c

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1041,6 +1041,11 @@ CND(VEOL2, "Alternative EOL")
10411041

10421042
#endif /* HAVE_TERMIOS */
10431043

1044+
#if defined(__CYGWIN__)
1045+
#define RTS_CONTROL_ENABLE 0x1
1046+
#define DTR_CONTROL_ENABLE 0x1
1047+
#endif
1048+
10441049
#if defined(__MINGW32__) || defined(__CYGWIN__)
10451050
CNU(DTR_CONTROL_ENABLE, "Enable DTR flow ctrl")
10461051
CNU(RTS_CONTROL_ENABLE, "Enable RTS flow ctrl")

0 commit comments

Comments
 (0)