summaryrefslogtreecommitdiffstats
path: root/cpukit/libcsupport/src/getreentglobal.c
diff options
context:
space:
mode:
Diffstat (limited to 'cpukit/libcsupport/src/getreentglobal.c')
-rw-r--r--cpukit/libcsupport/src/getreentglobal.c10
1 files changed, 3 insertions, 7 deletions
diff --git a/cpukit/libcsupport/src/getreentglobal.c b/cpukit/libcsupport/src/getreentglobal.c
index 742c1bf512..deeb6a35dd 100644
--- a/cpukit/libcsupport/src/getreentglobal.c
+++ b/cpukit/libcsupport/src/getreentglobal.c
@@ -1,11 +1,5 @@
/*
- * Copyright (c) 2018 embedded brains GmbH. All rights reserved.
- *
- * embedded brains GmbH
- * Dornierstr. 4
- * 82178 Puchheim
- * Germany
- * <rtems@embedded-brains.de>
+ * Copyright (c) 2018 embedded brains GmbH & Co. KG
*
* The license and distribution terms for this file may be
* found in the file LICENSE in this distribution or at
@@ -21,8 +15,10 @@
#if defined(RTEMS_NEWLIB)
#include <sys/reent.h>
+#ifndef _REENT_THREAD_LOCAL
struct _reent *__getreent(void)
{
return _GLOBAL_REENT;
}
#endif
+#endif