about summary refs log tree commit diff
path: root/posix/tst-sysconf.c
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2012-05-10 15:28:33 -0700
committerRoland McGrath <roland@hack.frob.com>2012-05-10 15:57:27 -0700
commitdb65366043bd85adbf7b0a73f406f5dadbf5ceb3 (patch)
tree4c1335545ee1e64247dfa1d82c8a950dd544c927 /posix/tst-sysconf.c
parentee16e894aaf51674058224fe0ece852bd0b3632d (diff)
downloadglibc-db65366043bd85adbf7b0a73f406f5dadbf5ceb3.tar.gz
glibc-db65366043bd85adbf7b0a73f406f5dadbf5ceb3.tar.xz
glibc-db65366043bd85adbf7b0a73f406f5dadbf5ceb3.zip
Hurd: Update posix_opt.h
Diffstat (limited to 'posix/tst-sysconf.c')
-rw-r--r--posix/tst-sysconf.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/posix/tst-sysconf.c b/posix/tst-sysconf.c
index e2972291ae..105c7c2625 100644
--- a/posix/tst-sysconf.c
+++ b/posix/tst-sysconf.c
@@ -29,8 +29,12 @@ static struct
     N (MEMORY_PROTECTION),
     N (MESSAGE_PASSING),
     N (MONOTONIC_CLOCK),
+#ifdef _POSIX_PRIORITIZED_IO
     N (PRIORITIZED_IO),
+#endif
+#ifdef _POSIX_PRIORITY_SCHEDULING
     N (PRIORITY_SCHEDULING),
+#endif
     N (RAW_SOCKETS),
     N (READER_WRITER_LOCKS),
     N (REALTIME_SIGNALS),
@@ -42,7 +46,9 @@ static struct
     N (SPAWN),
     N (SPIN_LOCKS),
     N (SPORADIC_SERVER),
+#ifdef _POSIX_SYNCHRONIZED_IO
     N (SYNCHRONIZED_IO),
+#endif
     N (THREAD_ATTR_STACKADDR),
     N (THREAD_ATTR_STACKSIZE),
     N (THREAD_CPUTIME),