mirror of
git://sourceware.org/git/newlib-cygwin.git
synced 2025-01-16 11:31:00 +08:00
fff27f8429
Signed-off-by: Yaakov Selkowitz <yselkowi@redhat.com>
23 lines
264 B
C
23 lines
264 B
C
/* default reentrant pointer when multithread enabled */
|
|
|
|
#ifdef GETREENT_PROVIDED
|
|
|
|
int _dummy_getreent;
|
|
|
|
#else
|
|
|
|
#include <_ansi.h>
|
|
#include <reent.h>
|
|
|
|
#ifdef __getreent
|
|
#undef __getreent
|
|
#endif
|
|
|
|
struct _reent *
|
|
__getreent (void)
|
|
{
|
|
return _impure_ptr;
|
|
}
|
|
|
|
#endif
|