Add HAVE_ACCEPT4 (GH PR #42)
This commit is contained in:
parent
f0bb56a739
commit
220e842bb3
17
libbuild2-autoconf/libbuild2/autoconf/checks/HAVE_ACCEPT4.h
Normal file
17
libbuild2-autoconf/libbuild2/autoconf/checks/HAVE_ACCEPT4.h
Normal file
@ -0,0 +1,17 @@
|
||||
// HAVE_ACCEPT4 : BUILD2_AUTOCONF_LIBC_VERSION
|
||||
|
||||
#ifndef BUILD2_AUTOCONF_LIBC_VERSION
|
||||
# error BUILD2_AUTOCONF_LIBC_VERSION appears to be conditionally included
|
||||
#endif
|
||||
|
||||
#undef HAVE_ACCEPT4
|
||||
/* OpenBSD 5.7, FreeBSD 10.0, NetBSD 8.0
|
||||
* Solaris 11.4.0, glibc 2.10
|
||||
* NOTE: Non-standard Linux extension
|
||||
*/
|
||||
#if BUILD2_AUTOCONF_OPENBSD_PREREQ(201505) || \
|
||||
BUILD2_AUTOCONF_FREEBSD_PREREQ(10, 0) || \
|
||||
BUILD2_AUTOCONF_NETBSD_PREREQ(8, 0) || \
|
||||
BUILD2_AUTOCONF_GLIBC_PREREQ(2, 10)
|
||||
# define HAVE_ACCEPT4 1
|
||||
#endif
|
Loading…
Reference in New Issue
Block a user