This is the mail archive of the
newlib-cvs@sourceware.org
mailing list for the newlib project.
[newlib-cygwin] rtems: define _POSIX_CLOCK_SELECTION feature
- From: Joel Sherrill <joel at sourceware dot org>
- To: newlib-cvs at sourceware dot org
- Date: 8 Aug 2016 16:14:04 -0000
- Subject: [newlib-cygwin] rtems: define _POSIX_CLOCK_SELECTION feature
https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;h=9a80679aae9098aa189f7ea8ce7892e2c092f3be
commit 9a80679aae9098aa189f7ea8ce7892e2c092f3be
Author: Gedare Bloom <gedare@rtems.org>
Date: Mon Aug 1 14:55:58 2016 -0500
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>
Diff:
---
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