Cygwin: mmap: allow remapping part of an existing anonymous mapping
[newlib-cygwin.git] / newlib / libc / reent / getreent.c
blob86bb04fb94140d4a32d907c3bdc9991f8db302f1
1 /* default reentrant pointer when multithread enabled */
3 #ifdef GETREENT_PROVIDED
5 int _dummy_getreent;
7 #else
9 #include <_ansi.h>
10 #include <reent.h>
12 #ifndef _REENT_THREAD_LOCAL
14 #ifdef __getreent
15 #undef __getreent
16 #endif
18 struct _reent *
19 __getreent (void)
21 return _impure_ptr;
24 #endif /* !_REENT_THREAD_LOCAL */
26 #endif