aboutsummaryrefslogtreecommitdiff
path: root/newlib/libc/reent
diff options
context:
space:
mode:
authorBrian Dessent <brian@dessent.net>2007-09-07 00:45:55 +0000
committerBrian Dessent <brian@dessent.net>2007-09-07 00:45:55 +0000
commit345c15956206da4381bb24bc138a8c176a50442e (patch)
tree676ba9ab7fe23dfac494467a36d0fe6a6181eb5c /newlib/libc/reent
parent6e08b2f7f86c27d8f35abc2caa2e63fb20b0c714 (diff)
downloadnewlib-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.c4
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)
{