diff options
Diffstat (limited to 'newlib/libc/reent')
-rw-r--r-- | newlib/libc/reent/getreent.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/newlib/libc/reent/getreent.c b/newlib/libc/reent/getreent.c index 1769232..60ae6fb 100644 --- a/newlib/libc/reent/getreent.c +++ b/newlib/libc/reent/getreent.c @@ -1,4 +1,5 @@ /* default reentrant pointer when multithread enabled */ + #include <_ansi.h> #include <reent.h> @@ -9,11 +10,5 @@ struct _reent * _DEFUN_VOID(__getreent) { -#ifdef __CYGWIN__ - /* Utilize Cygwin's inline definition from include/cygwin/config.h - (note the extra underscore) */ - return __inline_getreent (); -#else return _impure_ptr; -#endif } |