X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-psi;a=blobdiff_plain;f=m4%2Fsys_select.m4;h=0390299802338d022e6d0db7d27f92ad8d1eb0c8;hp=7c8da1056bc2cce1875af834d8007e9ba0e7b2d1;hb=09735ea6055f959a9cac481268754f07d6f6eb9f;hpb=b1720af16e5d7765e2effcd16e23f351c2f82e54 diff --git a/m4/sys_select.m4 b/m4/sys_select.m4 index 7c8da10..0390299 100644 --- a/m4/sys_select.m4 +++ b/m4/sys_select.m4 @@ -1,16 +1,16 @@ PSI_CHECK_SYS_SELECT() { - AC_CHECK_HEADERS(sys/select.h) + PSI_CONFIG_POSIX(sys/select, sys/select.h) PSI_STRUCT(fd_set, []) PSI_CONST(FD_SETSIZE, int) - PSI_MACRO(void FD_CLEAR, [(int fd, fd_set *s)]) - PSI_MACRO(void FD_COPY, [(fd_set *s1, fd_set *s2)]) - PSI_MACRO(void FD_CLR, [(int fd, fd_set *s)]) - PSI_MACRO(void FD_SET, [(int fd, fd_set *s)]) - PSI_MACRO(int FD_ISSET, [(int fd, fd_set *s)]) - PSI_MACRO(void FD_ZERO, [(fd_set *s)]) + PSI_DECL(void FD_CLEAR, [(int fd, fd_set *s)]) + PSI_DECL(void FD_COPY, [(fd_set *s1, fd_set *s2)]) + PSI_DECL(void FD_CLR, [(int fd, fd_set *s)]) + PSI_DECL(void FD_SET, [(int fd, fd_set *s)]) + PSI_DECL(int FD_ISSET, [(int fd, fd_set *s)]) + PSI_DECL(void FD_ZERO, [(fd_set *s)]) PSI_DECL(int select, [(int nfds, fd_set *readfds, fd_set *writefds, fd_set *errorfds, struct timeval *timeout)]) dnl PSI_DECL(int pselect, [(int nfds, fd_set *readfds, fd_set *writefds, fd_set *errorfds, struct timeval *timeout, sigset_t *sigmask)])