diff options
Diffstat (limited to 'newlib/libc/reent/reent.c')
-rw-r--r-- | newlib/libc/reent/reent.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/newlib/libc/reent/reent.c b/newlib/libc/reent/reent.c index 4e9485c7a..db80ca06e 100644 --- a/newlib/libc/reent/reent.c +++ b/newlib/libc/reent/reent.c @@ -30,7 +30,9 @@ int errno; void _reclaim_reent (struct _reent *ptr) { +#ifndef _REENT_THREAD_LOCAL if (ptr != _impure_ptr) +#endif { /* used by mprec routines. */ #ifdef _REENT_SMALL |