summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGedare Bloom <gedare@rtems.org>2016-08-01 14:55:58 -0500
committerJoel Sherrill <joel@rtems.org>2016-08-08 11:12:23 -0500
commit9a80679aae9098aa189f7ea8ce7892e2c092f3be (patch)
tree08a789f5a96f9e342ef0a70706093522d769bef6
parent644e40dd9c853f03841ecd0e78bd10a8179a3f68 (diff)
downloadcygnal-9a80679aae9098aa189f7ea8ce7892e2c092f3be.tar.gz
cygnal-9a80679aae9098aa189f7ea8ce7892e2c092f3be.tar.bz2
cygnal-9a80679aae9098aa189f7ea8ce7892e2c092f3be.zip
rtems: define _POSIX_CLOCK_SELECTION feature
Enable definition of clock_nanosleep() since it was added to RTEMS. Signed-off-by: Joel Sherrill <joelemail@rtems.org>
-rw-r--r--newlib/libc/include/sys/features.h1
1 files changed, 1 insertions, 0 deletions
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