diff options
author | Brian Dessent <brian@dessent.net> | 2007-09-07 00:45:55 +0000 |
---|---|---|
committer | Brian Dessent <brian@dessent.net> | 2007-09-07 00:45:55 +0000 |
commit | 345c15956206da4381bb24bc138a8c176a50442e (patch) | |
tree | 676ba9ab7fe23dfac494467a36d0fe6a6181eb5c /newlib/libc/reent | |
parent | 6e08b2f7f86c27d8f35abc2caa2e63fb20b0c714 (diff) | |
download | newlib-345c15956206da4381bb24bc138a8c176a50442e.zip newlib-345c15956206da4381bb24bc138a8c176a50442e.tar.gz newlib-345c15956206da4381bb24bc138a8c176a50442e.tar.bz2 |
* libc/reent/getreent.c: Allow for case where __getreent is
defined as a macro.
Diffstat (limited to 'newlib/libc/reent')
-rw-r--r-- | newlib/libc/reent/getreent.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/newlib/libc/reent/getreent.c b/newlib/libc/reent/getreent.c index b53ff26..60ae6fb 100644 --- a/newlib/libc/reent/getreent.c +++ b/newlib/libc/reent/getreent.c @@ -3,6 +3,10 @@ #include <_ansi.h> #include <reent.h> +#ifdef __getreent +#undef __getreent +#endif + struct _reent * _DEFUN_VOID(__getreent) { |