Add HAVE_SYS_POLL_H (GH PR #57)
This commit is contained in:
parent
94e48a9faa
commit
6143b979e2
@ -0,0 +1,14 @@
|
|||||||
|
// HAVE_SYS_POLL_H : BUILD2_AUTOCONF_LIBC_VERSION
|
||||||
|
|
||||||
|
#ifndef BUILD2_AUTOCONF_LIBC_VERSION
|
||||||
|
# error BUILD2_AUTOCONF_LIBC_VERSION appears to be conditionally included
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#undef HAVE_SYS_POLL_H
|
||||||
|
|
||||||
|
/* All use poll.h: FreeBSD, OpenBSD, NetBSD, Mac OS.
|
||||||
|
* Since glibc 2.0.
|
||||||
|
*/
|
||||||
|
#if BUILD2_AUTOCONF_GLIBC_PREREQ(2, 0)
|
||||||
|
# define HAVE_SYS_POLL_H 1
|
||||||
|
#endif
|
Loading…
Reference in New Issue
Block a user