From 9a80679aae9098aa189f7ea8ce7892e2c092f3be Mon Sep 17 00:00:00 2001 From: Gedare Bloom Date: Mon, 1 Aug 2016 14:55:58 -0500 Subject: [PATCH] rtems: define _POSIX_CLOCK_SELECTION feature Enable definition of clock_nanosleep() since it was added to RTEMS. Signed-off-by: Joel Sherrill --- 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 dbc4ebefa..93635ba6d 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