[PATCH 2/2] rtems: define _POSIX_CLOCK_SELECTION feature

Gedare Bloom gedare at rtems.org
Mon Aug 1 20:59:37 UTC 2016


Alright -- I still get some missing prototype warning for
clock_nanosleep, so more feature magic might be needed still.

On Mon, Aug 1, 2016 at 4:03 PM, Joel Sherrill <joel.sherrill at oarcorp.com> wrote:
> Looks OK to me.
>
> --joel
>
> On August 1, 2016 4:01:39 PM EDT, Gedare Bloom <gedare at rtems.org> wrote:
>>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
>>>
>
> --joel



More information about the devel mailing list