diff options
Diffstat (limited to 'cpukit/libcsupport/src/getreentglobal.c')
-rw-r--r-- | cpukit/libcsupport/src/getreentglobal.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/cpukit/libcsupport/src/getreentglobal.c b/cpukit/libcsupport/src/getreentglobal.c index 72b513ee81..c64f09ac2c 100644 --- a/cpukit/libcsupport/src/getreentglobal.c +++ b/cpukit/libcsupport/src/getreentglobal.c @@ -15,8 +15,10 @@ #if defined(RTEMS_NEWLIB) #include <sys/reent.h> +#ifndef _REENT_THREAD_LOCAL struct _reent *__getreent(void) { return _GLOBAL_REENT; } #endif +#endif |