about summary refs log tree commit diff
path: root/conform/data/sys/select.h-data
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2010-01-12 07:49:10 -0800
committerUlrich Drepper <drepper@redhat.com>2010-01-12 07:49:10 -0800
commit4bfc6ab9ae3b259caa8b12229f0c67b4b514e9cd (patch)
treeca4929b093d8efc6628b3104605f85ca20b511bd /conform/data/sys/select.h-data
parent8500fa8325bb9dde4ebb3aa59a52fd2ffdc07f54 (diff)
downloadglibc-4bfc6ab9ae3b259caa8b12229f0c67b4b514e9cd.tar.gz
glibc-4bfc6ab9ae3b259caa8b12229f0c67b4b514e9cd.tar.xz
glibc-4bfc6ab9ae3b259caa8b12229f0c67b4b514e9cd.zip
Fix up sys/select.h test for XPG7.
Diffstat (limited to 'conform/data/sys/select.h-data')
-rw-r--r--conform/data/sys/select.h-data12
1 files changed, 7 insertions, 5 deletions
diff --git a/conform/data/sys/select.h-data b/conform/data/sys/select.h-data
index 51f7844cb6..ea890d6ae9 100644
--- a/conform/data/sys/select.h-data
+++ b/conform/data/sys/select.h-data
@@ -13,16 +13,18 @@ element {struct timespec} time_t tv_sec
 element {struct timespec} long tv_nsec
 
 type fd_set
+#if defined XPG3 || defined XPG4 || defined UNIX98
 element fd_set long fds_bits []
+#endif
 
-function-macro void FD_CLR (int, fd_set*)
-function-macro int FD_ISSET (int, fd_set*)
-function-macro void FD_SET (int, fd_set*)
-function-macro void FD_ZERO (fd_set*)
+macro FD_CLR
+macro FD_ISSET
+macro FD_SET
+macro FD_ZERO
 
 macro FD_SETSIZE
 
-#ifdef XOPEN2K
+#if defined XOPEN2K || defined POSIX2008
 function int pselect (int, fd_set*, fd_set*, fd_set*, const struct timespec*, const sigset_t*)
 #endif
 function int select (int, fd_set*, fd_set*, fd_set*, struct timeval*)