Add HAVE_FCNT (GH PR #11)
This commit is contained in:
parent
0b15ad17b9
commit
5019f52213
16
libbuild2-autoconf/libbuild2/autoconf/checks/HAVE_FCNTL.h
Normal file
16
libbuild2-autoconf/libbuild2/autoconf/checks/HAVE_FCNTL.h
Normal file
@ -0,0 +1,16 @@
|
|||||||
|
// HAVE_FCNTL : BUILD2_AUTOCONF_LIBC_VERSION
|
||||||
|
|
||||||
|
#ifndef BUILD2_AUTOCONF_LIBC_VERSION
|
||||||
|
# error BUILD2_AUTOCONF_LIBC_VERSION appears to be conditionally included
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#undef HAVE_FCNTL
|
||||||
|
/* Since BSD 4.2 (1983)
|
||||||
|
*/
|
||||||
|
#if defined(__linux__) || \
|
||||||
|
defined(__FreeBSD__) || \
|
||||||
|
defined(__OpenBSD__) || \
|
||||||
|
defined(__NetBSD__) || \
|
||||||
|
defined(BUILD2_AUTOCONF_MACOS)
|
||||||
|
# define HAVE_FCNTL 1
|
||||||
|
#endif
|
Loading…
Reference in New Issue
Block a user