[PATCH 1/1] libc/include/sys/config.h: Undef _REENT_SMALL for RTEMS on MicroBlaze
Alex White <[email protected]>
| Newsgroups | gmane.comp.lib.newlib |
|---|---|
| Message-ID | <[email protected]> |
RTEMS does not expect _REENT_SMALL. --- newlib/libc/include/sys/config.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/newlib/libc/include/sys/config.h b/newlib/libc/include/sys/config.h index 4bc8d29bf..b9dff88ff 100644 --- a/newlib/libc/include/sys/config.h +++ b/newlib/libc/include/sys/config.h @@ -127,7 +127,7 @@ #endif /* Configure small REENT structure for Xilinx MicroBlaze platforms */ -#if defined (__MICROBLAZE__) +#if defined (__MICROBLAZE__) && !defined(__rtems__) #ifndef _REENT_SMALL #define _REENT_SMALL #endif -- 2.27.0