summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--newlib/ChangeLog4
-rw-r--r--newlib/libc/include/sys/features.h2
2 files changed, 5 insertions, 1 deletions
diff --git a/newlib/ChangeLog b/newlib/ChangeLog
index d516c6448..bf6dfecdf 100644
--- a/newlib/ChangeLog
+++ b/newlib/ChangeLog
@@ -1,3 +1,7 @@
+2010-08-02 Yaakov Selkowitz <yselkowitz@users.sourceforge.net>
+
+ * libc/include/sys/features.h: Define _POSIX_MONOTONIC_CLOCK for Cygwin.
+
2010-08-06 Corinna Vinschen <corinna@vinschen.de>
* libc/include/sys/stat.h: Move all POSIX-defined symbolic constants
diff --git a/newlib/libc/include/sys/features.h b/newlib/libc/include/sys/features.h
index 0277fb0a5..2f862687c 100644
--- a/newlib/libc/include/sys/features.h
+++ b/newlib/libc/include/sys/features.h
@@ -112,7 +112,7 @@ extern "C" {
#define _POSIX_MEMLOCK_RANGE 200112L
#define _POSIX_MEMORY_PROTECTION 200112L
#define _POSIX_MESSAGE_PASSING 200112L
-/* #define _POSIX_MONOTONIC_CLOCK -1 */
+#define _POSIX_MONOTONIC_CLOCK 200112L
#define _POSIX_NO_TRUNC 1
/* #define _POSIX_PRIORITIZED_IO -1 */
#define _POSIX_PRIORITY_SCHEDULING 200112L