Add HAVE_TIMERFD_CREATE (GH PR #18)
This commit is contained in:
parent
995f06fd3a
commit
30bc3f72c0
@ -0,0 +1,14 @@
|
|||||||
|
// HAVE_TIMERFD_CREATE : BUILD2_AUTOCONF_LIBC_VERSION
|
||||||
|
|
||||||
|
#ifndef BUILD2_AUTOCONF_LIBC_VERSION
|
||||||
|
# error BUILD2_AUTOCONF_LIBC_VERSION appears to be conditionally included
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#undef HAVE_TIMERFD_CREATE
|
||||||
|
|
||||||
|
/* Since Linux/glibc 2.8 and Mac OS
|
||||||
|
*/
|
||||||
|
#if BUILD2_AUTOCONF_GLIBC_PREREQ(2, 8) || \
|
||||||
|
defined(BUILD2_AUTOCONF_MACOS)
|
||||||
|
# define HAVE_TIMERFD_CREATE 1
|
||||||
|
#endif
|
Loading…
Reference in New Issue
Block a user