* libc/include/sys/features.h: Define _POSIX_MONOTONIC_CLOCK for Cygwin.

This commit is contained in:
Corinna Vinschen 2010-08-09 08:29:22 +00:00
parent 95fe28c61e
commit f717289618
2 changed files with 5 additions and 1 deletions

View File

@ -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> 2010-08-06 Corinna Vinschen <corinna@vinschen.de>
* libc/include/sys/stat.h: Move all POSIX-defined symbolic constants * libc/include/sys/stat.h: Move all POSIX-defined symbolic constants

View File

@ -112,7 +112,7 @@ extern "C" {
#define _POSIX_MEMLOCK_RANGE 200112L #define _POSIX_MEMLOCK_RANGE 200112L
#define _POSIX_MEMORY_PROTECTION 200112L #define _POSIX_MEMORY_PROTECTION 200112L
#define _POSIX_MESSAGE_PASSING 200112L #define _POSIX_MESSAGE_PASSING 200112L
/* #define _POSIX_MONOTONIC_CLOCK -1 */ #define _POSIX_MONOTONIC_CLOCK 200112L
#define _POSIX_NO_TRUNC 1 #define _POSIX_NO_TRUNC 1
/* #define _POSIX_PRIORITIZED_IO -1 */ /* #define _POSIX_PRIORITIZED_IO -1 */
#define _POSIX_PRIORITY_SCHEDULING 200112L #define _POSIX_PRIORITY_SCHEDULING 200112L