about summary refs log tree commit diff
path: root/nptl/sysdeps/unix
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2009-08-23 13:59:41 -0700
committerUlrich Drepper <drepper@redhat.com>2009-08-23 13:59:41 -0700
commit2d094b739598d2e1718d3cc4c5af7e95787bd463 (patch)
tree575a7790a137f3044d6ed812ba7f4dc2c5b1dbe0 /nptl/sysdeps/unix
parentc6b6723e6b756d36d9912a1c430459634e15758b (diff)
downloadglibc-2d094b739598d2e1718d3cc4c5af7e95787bd463.tar.gz
glibc-2d094b739598d2e1718d3cc4c5af7e95787bd463.tar.xz
glibc-2d094b739598d2e1718d3cc4c5af7e95787bd463.zip
More namespace cleanups.
Diffstat (limited to 'nptl/sysdeps/unix')
-rw-r--r--nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h10
1 files changed, 6 insertions, 4 deletions
diff --git a/nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h b/nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h
index f9fa4e52eb..2550355cdc 100644
--- a/nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h
+++ b/nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h
@@ -85,15 +85,17 @@
 /* We support priority inheritence.  */
 #define _POSIX_THREAD_PRIO_INHERIT	200809L
 
-/* We support priority inheritence for robust mutexes.  */
-#define _POSIX_THREAD_ROBUST_PRIO_INHERIT	200809L
-
 /* We support priority protection, though only for non-robust
    mutexes.  */
 #define _POSIX_THREAD_PRIO_PROTECT	200809L
 
+#ifdef __USE_XOPEN2K8
+/* We support priority inheritence for robust mutexes.  */
+# define _POSIX_THREAD_ROBUST_PRIO_INHERIT	200809L
+
 /* We do not support priority protection for robust mutexes.  */
-#define _POSIX_THREAD_ROBUST_PRIO_PROTECT	-1
+# define _POSIX_THREAD_ROBUST_PRIO_PROTECT	-1
+#endif
 
 /* We support POSIX.1b semaphores.  */
 #define _POSIX_SEMAPHORES	200809L