Add HAVE_SIGNAL_H (GH PR #55)
This commit is contained in:
parent
4040ebfce7
commit
a7bbed8b7d
19
libbuild2-autoconf/libbuild2/autoconf/checks/HAVE_SIGNAL_H.h
Normal file
19
libbuild2-autoconf/libbuild2/autoconf/checks/HAVE_SIGNAL_H.h
Normal file
@ -0,0 +1,19 @@
|
||||
// HAVE_SIGNAL_H : BUILD2_AUTOCONF_LIBC_VERSION
|
||||
|
||||
#ifndef BUILD2_AUTOCONF_LIBC_VERSION
|
||||
# error BUILD2_AUTOCONF_LIBC_VERSION appears to be conditionally included
|
||||
#endif
|
||||
|
||||
#undef HAVE_SIGNAL_H
|
||||
|
||||
/* Since Version 3 AT&T UNIX (older than 1979).
|
||||
* Linux, FreeBSD, OpenBSD, NetBSD, Mac OS X, Solaris
|
||||
*/
|
||||
#if defined(__linux__) || \
|
||||
defined(__FreeBSD__) || \
|
||||
defined(__OpenBSD__) || \
|
||||
defined(__NetBSD__) || \
|
||||
defined(BUILD2_AUTOCONF_MACOS) || \
|
||||
((defined(__sun) && defined(__SVR4)) || defined(__sun__))
|
||||
# define HAVE_SIGNAL_H 1
|
||||
#endif
|
Loading…
Reference in New Issue
Block a user