> Change the preprocessor logic so RTEMS uses utime().
>     gcc/ada/
>       * adaint.c (__gnat_copy_attribs): RTEMS should use utime().

This change is OK.

> ---
>  gcc/ada/adaint.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/gcc/ada/adaint.c b/gcc/ada/adaint.c
> index 0a90c92402c..d3b83f61076 100644
> --- a/gcc/ada/adaint.c
> +++ b/gcc/ada/adaint.c
> @@ -3270,7 +3270,7 @@ __gnat_copy_attribs (char *from ATTRIBUTE_UNUSED, char 
> *to ATTRIBUTE_UNUSED,
>       return -1;
>    }
>  
> -#if (defined (__vxworks) && _WRS_VXWORKS_MAJOR < 7)
> +#if (defined (__vxworks) && _WRS_VXWORKS_MAJOR < 7) || defined(__rtems__)
>  
>    /* VxWorks prior to 7 only has utime.  */
>  
> -- 
> 2.24.4
> 

Reply via email to