summaryrefslogtreecommitdiffstats
path: root/newlib/libc/include/sys/features.h
diff options
context:
space:
mode:
authorYaakov Selkowitz <yselkowi@redhat.com>2011-05-16 22:35:10 +0000
committerYaakov Selkowitz <yselkowi@redhat.com>2011-05-16 22:35:10 +0000
commit64a5e8a9a310936b0da9546c4b264fd7c3cd470a (patch)
tree5e6dcc18189a9cdbe4e8f6e501e7072d20e6f3fc /newlib/libc/include/sys/features.h
parent553f08059b424569d002088360125d89e9442284 (diff)
downloadcygnal-64a5e8a9a310936b0da9546c4b264fd7c3cd470a.tar.gz
cygnal-64a5e8a9a310936b0da9546c4b264fd7c3cd470a.tar.bz2
cygnal-64a5e8a9a310936b0da9546c4b264fd7c3cd470a.zip
* libc/include/time.h (CLOCK_PROCESS_CPUTIME_ID): Rename from
CLOCK_PROCESS_CPUTIME. (CLOCK_THREAD_CPUTIME_ID): Rename from CLOCK_THREAD_CPUTIME. * libc/include/sys/features.h [__CYGWIN__] (_POSIX_CPUTIME): Define. (_POSIX_THREAD_CPUTIME): Define.
Diffstat (limited to 'newlib/libc/include/sys/features.h')
-rw-r--r--newlib/libc/include/sys/features.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/newlib/libc/include/sys/features.h b/newlib/libc/include/sys/features.h
index 1b3c4e6cb..5de4bbbe8 100644
--- a/newlib/libc/include/sys/features.h
+++ b/newlib/libc/include/sys/features.h
@@ -103,7 +103,7 @@ extern "C" {
/* #define _POSIX_BARRIERS -1 */
#define _POSIX_CHOWN_RESTRICTED 1
/* #define _POSIX_CLOCK_SELECTION -1 */
-/* #define _POSIX_CPUTIME -1 */
+#define _POSIX_CPUTIME 200112L
#define _POSIX_FSYNC 200112L
#define _POSIX_IPV6 200112L
#define _POSIX_JOB_CONTROL 1
@@ -130,7 +130,7 @@ extern "C" {
#define _POSIX_SYNCHRONIZED_IO 200112L
#define _POSIX_THREAD_ATTR_STACKADDR 200112L
#define _POSIX_THREAD_ATTR_STACKSIZE 200112L
-/* #define _POSIX_THREAD_CPUTIME -1 */
+#define _POSIX_THREAD_CPUTIME 200112L
/* #define _POSIX_THREAD_PRIO_INHERIT -1 */
/* #define _POSIX_THREAD_PRIO_PROTECT -1 */
#define _POSIX_THREAD_PRIORITY_SCHEDULING 200112L