[PATCH 2/2] rtems: define _POSIX_CLOCK_SELECTION feature

Gedare Bloom gedare at rtems.org
Mon Aug 1 20:01:39 UTC 2016


This feature enables the prototype for clock_nanosleep, which is now
available in RTEMS.

On Mon, Aug 1, 2016 at 3:55 PM, Gedare Bloom <gedare at rtems.org> wrote:
> ---
>  newlib/libc/include/sys/features.h | 1 +
>  1 file changed, 1 insertion(+)
>
> diff --git a/newlib/libc/include/sys/features.h b/newlib/libc/include/sys/features.h
> index dbc4ebe..93635ba 100644
> --- a/newlib/libc/include/sys/features.h
> +++ b/newlib/libc/include/sys/features.h
> @@ -328,6 +328,7 @@ extern "C" {
>  #define _POSIX_MEMORY_PROTECTION       1
>  #define _POSIX_MESSAGE_PASSING         1
>  #define _POSIX_MONOTONIC_CLOCK         200112L
> +#define _POSIX_CLOCK_SELECTION         200112L
>  #define _POSIX_PRIORITIZED_IO          1
>  #define _POSIX_PRIORITY_SCHEDULING     1
>  #define _POSIX_REALTIME_SIGNALS                1
> --
> 1.9.1
>


More information about the devel mailing list