Last change
on this file was
444,
checked in by satin@…, 6 years ago
|
add newlib,libalmos-mkh, restructure shared_syscalls.h and mini-libc
|
File size:
264 bytes
|
Rev | Line | |
---|
[444] | 1 | /* default reentrant pointer when multithread enabled */ |
---|
| 2 | |
---|
| 3 | #ifdef GETREENT_PROVIDED |
---|
| 4 | |
---|
| 5 | int _dummy_getreent; |
---|
| 6 | |
---|
| 7 | #else |
---|
| 8 | |
---|
| 9 | #include <_ansi.h> |
---|
| 10 | #include <reent.h> |
---|
| 11 | |
---|
| 12 | #ifdef __getreent |
---|
| 13 | #undef __getreent |
---|
| 14 | #endif |
---|
| 15 | |
---|
| 16 | struct _reent * |
---|
| 17 | __getreent (void) |
---|
| 18 | { |
---|
| 19 | return _impure_ptr; |
---|
| 20 | } |
---|
| 21 | |
---|
| 22 | #endif |
---|
Note: See
TracBrowser
for help on using the repository browser.