Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'newlib/libc/reent/reent.c')
-rw-r--r--newlib/libc/reent/reent.c2
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