Re: [PATCH v2] Enabled _CS* defines for RTEMS

Corinna Vinschen via Newlib <[email protected]>
Newsgroups gmane.comp.lib.newlib
Message-ID <[email protected]>
On Aug 24 20:13, Eshan dhawan via Newlib wrote:
> Signed-off-by: Eshan dhawan <[email protected]>
> ---
>  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..6aa5c5298 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__) || defined(__rtems__)
>  #define _CS_PATH                               0
>  #define _CS_POSIX_V7_ILP32_OFF32_CFLAGS        1
>  #define _CS_POSIX_V6_ILP32_OFF32_CFLAGS       _CS_POSIX_V7_ILP32_OFF32_CFLAGS
> -- 
> 2.17.1

Pushed.


Thanks,
Corinna
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.