summaryrefslogtreecommitdiffstats
path: root/libc/include/machine
diff options
context:
space:
mode:
authorYabin Cui <yabinc@google.com>2014-12-09 17:51:37 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2014-12-09 17:51:37 +0000
commitb033761cbf0e79ade9a8c956c2e63b42ee838183 (patch)
tree975bda1f78be1e71d875eb065fd696f1d20b14af /libc/include/machine
parent5536044b7896285729cdb39ee0489265a42697f5 (diff)
parent725756045e03ea6f7ef00d02e883ef2914d06dde (diff)
downloadbionic-b033761cbf0e79ade9a8c956c2e63b42ee838183.zip
bionic-b033761cbf0e79ade9a8c956c2e63b42ee838183.tar.gz
bionic-b033761cbf0e79ade9a8c956c2e63b42ee838183.tar.bz2
Merge "Change _POSIX_CPUTIME macro to make it compitable with glibc."
Diffstat (limited to 'libc/include/machine')
-rw-r--r--libc/include/machine/posix_limits.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/libc/include/machine/posix_limits.h b/libc/include/machine/posix_limits.h
index 25887be..4ffe421 100644
--- a/libc/include/machine/posix_limits.h
+++ b/libc/include/machine/posix_limits.h
@@ -41,7 +41,7 @@
#define _POSIX_CHILD_MAX 25
#define _POSIX_CHOWN_RESTRICTED 1 /* yes, chown requires appropriate privileges */
#define _POSIX_CLOCK_SELECTION 200809L
-#define _POSIX_CPUTIME 200809L
+#define _POSIX_CPUTIME 0 /* Use sysconf to detect support at runtime. */
#define _POSIX_DELAYTIMER_MAX 32
#define _POSIX_FSYNC 200809L /* fdatasync() supported */
#define _POSIX_HOST_NAME_MAX 255
@@ -90,7 +90,7 @@
#define _POSIX_THREADS 200809L /* we support threads */
#define _POSIX_THREAD_ATTR_STACKADDR 200809L
#define _POSIX_THREAD_ATTR_STACKSIZE 200809L
-#define _POSIX_THREAD_CPUTIME 200809L
+#define _POSIX_THREAD_CPUTIME 0 /* Use sysconf to detect support at runtime. */
#define _POSIX_THREAD_DESTRUCTOR_ITERATIONS 4
#define _POSIX_THREAD_KEYS_MAX 128
#define _POSIX_THREAD_PRIORITY_SCHEDULING 200809L