]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
Declare pselect only if __USE_POSIX.
authorUlrich Drepper <drepper@redhat.com>
Wed, 19 Nov 1997 23:04:59 +0000 (23:04 +0000)
committerUlrich Drepper <drepper@redhat.com>
Wed, 19 Nov 1997 23:04:59 +0000 (23:04 +0000)
misc/sys/select.h

index 2e102dd9fe3fb9361ed5043b0839c25287e044e7..dbf4f46b0f7c29cefaa47cee28f555a5547d2283 100644 (file)
@@ -77,12 +77,14 @@ extern int select __P ((int __nfds, __fd_set *__readfds,
 
 /* Same as above only that the TIMEOUT value is given with higher
    resolution.  This version should be used.  */
+#ifdef __USE_POSIX
 extern int __pselect __P ((int __nfds, __fd_set *__readfds,
                           __fd_set *__writefds, __fd_set *__exceptfds,
                           struct timespec *__timeout));
 extern int pselect __P ((int __nfds, __fd_set *__readfds,
                         __fd_set *__writefds, __fd_set *__exceptfds,
                         struct timespec *__timeout));
+#endif
 
 __END_DECLS