aboutsummaryrefslogtreecommitdiff
path: root/gcc/ada/env.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/ada/env.c')
-rw-r--r--gcc/ada/env.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/ada/env.c b/gcc/ada/env.c
index bdba790..6b6cec6 100644
--- a/gcc/ada/env.c
+++ b/gcc/ada/env.c
@@ -288,7 +288,7 @@ void __gnat_clearenv (void) {
index++;
}
#elif defined (__MINGW32__) || defined (__FreeBSD__) || defined (__APPLE__) \
- || (defined (__vxworks) && defined (__RTP__))
+ || (defined (__vxworks) && defined (__RTP__)) || defined (__CYGWIN__)
/* On Windows, FreeBSD and MacOS there is no function to clean all the
environment but there is a "clean" way to unset a variable. So go
through the environ table and call __gnat_unsetenv on all entries */