Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/newlib
diff options
context:
space:
mode:
authorCorinna Vinschen <corinna@vinschen.de>2010-08-09 12:29:22 +0400
committerCorinna Vinschen <corinna@vinschen.de>2010-08-09 12:29:22 +0400
commitf717289618baa1a709a7b6d5d91c4904fe2426a1 (patch)
tree1f653ba8741ba8f9b2823868ea18956f181871b7 /newlib
parent95fe28c61e30f3c39f0c73b0c3cc70a5aa5f88e6 (diff)
* libc/include/sys/features.h: Define _POSIX_MONOTONIC_CLOCK for Cygwin.
Diffstat (limited to 'newlib')
-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