chiark / gitweb /
Regression tests compile on systems without poll(2). Do not install
[adns.git] / regress / hsyscalls.i4
index ec4b630f39bcfeb6fa0bbc9bcd0e0cd905317306..59206e078951d0e26250a702005b96b00fcd0d4e 100644 (file)
@@ -56,11 +56,13 @@ hm_syscall(
        hm_arg_timeval_in_rel_null(to) hm_na
 ')
 
        hm_arg_timeval_in_rel_null(to) hm_na
 ')
 
+#ifdef HAVE_POLL
 hm_syscall(
        poll, `hm_rv_any', `
         hm_arg_pollfds_io(fds,nfds) hm_na
        hm_arg_int(timeout) hm_na
 ')
 hm_syscall(
        poll, `hm_rv_any', `
         hm_arg_pollfds_io(fds,nfds) hm_na
        hm_arg_int(timeout) hm_na
 ')
+#endif
 
 hm_syscall(
        socket, `hm_rv_fd', `
 
 hm_syscall(
        socket, `hm_rv_fd', `