[PATCH] Enabled _CS* defines for RTEMS
Eshan Dhawan
eshandhawan51@gmail.com
Mon Aug 24 11:38:47 GMT 2020
> On 24-Aug-2020, at 3:30 PM, Corinna Vinschen via Newlib <newlib@sourceware.org> wrote:
>
> On Aug 22 00:57, Eshan dhawan via Newlib wrote:
>> Signed-off-by: Eshan dhawan <eshandhawan51@gmail.com>
>> ---
>> newlib/libc/include/sys/unistd.h | 3 ++-
>> 1 file changed, 2 insertions(+), 1 deletion(-)
>>
>> diff --git a/newlib/libc/include/sys/unistd.h b/newlib/libc/include/sys/unistd.h
>> index 5386bd49d..ca92f8b87 100644
>> --- a/newlib/libc/include/sys/unistd.h
>> +++ b/newlib/libc/include/sys/unistd.h
>> @@ -533,7 +533,8 @@ int unlinkat (int, const char *, int);
>> * confstr values per IEEE Std 1003.1, 2004 Edition
>> */
>>
>> -#ifdef __CYGWIN__ /* Only defined on Cygwin for now. */
>> +/* Only defined on Cygwin and RTEMS for now. */
>> +#if defined (__CYGWIN__) || (__rtems__)
>
> Shouldn't this be a `defined (__rtems__)'?
Apologies sent the wrong patch
I will send the v2 today :)
>
>
> Thanks,
> Corinna
>
More information about the Newlib
mailing list