[PATCH 2/2] rtems: define _POSIX_CLOCK_SELECTION feature

Joel Sherrill joel.sherrill@oarcorp.com
Mon Aug 1 20:03:00 GMT 2016


Looks OK to me. 

--joel

On August 1, 2016 4:01:39 PM EDT, Gedare Bloom <gedare@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@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 Newlib mailing list