diff options
Diffstat (limited to 'gcc/ada/s-oscons-tmplt.c')
-rw-r--r-- | gcc/ada/s-oscons-tmplt.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/gcc/ada/s-oscons-tmplt.c b/gcc/ada/s-oscons-tmplt.c index 5a034d5..9b5edb2 100644 --- a/gcc/ada/s-oscons-tmplt.c +++ b/gcc/ada/s-oscons-tmplt.c @@ -159,7 +159,8 @@ pragma Style_Checks ("M32766"); # include <signal.h> #endif -#ifdef __MINGW32__ +#if defined(__MINGW32__) || defined(__CYGWIN__) +# include <windef.h> # include <winbase.h> #endif @@ -986,7 +987,7 @@ CND(VEOL2, "Alternative EOL") #endif /* HAVE_TERMIOS */ -#ifdef __MINGW32__ +#if defined(__MINGW32__) || defined(__CYGWIN__) CNU(DTR_CONTROL_ENABLE, "Enable DTR flow ctrl") CNU(RTS_CONTROL_ENABLE, "Enable RTS flow ctrl") #endif |