From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 2155) id 47E393858002; Thu, 22 Jul 2021 07:35:36 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 47E393858002 Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: Corinna Vinschen To: newlib-cvs@sourceware.org Subject: [newlib-cygwin] libc/include/sys/config.h: Undef _REENT_SMALL for RTEMS on MicroBlaze X-Act-Checkin: newlib-cygwin X-Git-Author: Alex White X-Git-Refname: refs/heads/master X-Git-Oldrev: bf8f2a95dfb0f780e65cd9821b397fbb47e1c0ce X-Git-Newrev: 44a3966577bc29ad4394c7117964dcfec5011646 Message-Id: <20210722073536.47E393858002@sourceware.org> Date: Thu, 22 Jul 2021 07:35:36 +0000 (GMT) X-BeenThere: newlib-cvs@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Newlib GIT logs List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 22 Jul 2021 07:35:36 -0000 https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;h=44a3966577bc29ad4394c7117964dcfec5011646 commit 44a3966577bc29ad4394c7117964dcfec5011646 Author: Alex White Date: Wed Jul 21 13:00:34 2021 -0500 libc/include/sys/config.h: Undef _REENT_SMALL for RTEMS on MicroBlaze RTEMS does not expect _REENT_SMALL. Diff: --- 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