diff options
Diffstat (limited to 'newlib/libc/reent')
-rw-r--r-- | newlib/libc/reent/impure.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/newlib/libc/reent/impure.c b/newlib/libc/reent/impure.c index 27c0e0b5a..12ee7177b 100644 --- a/newlib/libc/reent/impure.c +++ b/newlib/libc/reent/impure.c @@ -10,5 +10,8 @@ #endif static struct _reent __ATTRIBUTE_IMPURE_DATA__ impure_data = _REENT_INIT (impure_data); +#ifdef __CYGWIN__ +extern struct _reent reent_data __attribute__ ((alias("impure_data"))); +#endif struct _reent *__ATTRIBUTE_IMPURE_PTR__ _impure_ptr = &impure_data; struct _reent *_CONST __ATTRIBUTE_IMPURE_PTR__ _global_impure_ptr = &impure_data; |