From f717289618baa1a709a7b6d5d91c4904fe2426a1 Mon Sep 17 00:00:00 2001 From: Corinna Vinschen Date: Mon, 9 Aug 2010 08:29:22 +0000 Subject: [PATCH] * libc/include/sys/features.h: Define _POSIX_MONOTONIC_CLOCK for Cygwin. --- newlib/ChangeLog | 4 ++++ newlib/libc/include/sys/features.h | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) 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 + + * libc/include/sys/features.h: Define _POSIX_MONOTONIC_CLOCK for Cygwin. + 2010-08-06 Corinna Vinschen * 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