fix HAVE_DECL_SIGPWR check
This commit is contained in:
@@ -21,7 +21,7 @@ SaveSignals *saved_sigs;
|
|||||||
static int signals[] = {
|
static int signals[] = {
|
||||||
SIGALRM, SIGBUS, SIGFPE, SIGHUP, SIGILL, SIGINT, SIGABRT,
|
SIGALRM, SIGBUS, SIGFPE, SIGHUP, SIGILL, SIGINT, SIGABRT,
|
||||||
SIGQUIT, SIGSEGV, SIGTRAP, SIGTERM, SIGVTALRM, SIGXCPU, SIGXFSZ,
|
SIGQUIT, SIGSEGV, SIGTRAP, SIGTERM, SIGVTALRM, SIGXCPU, SIGXFSZ,
|
||||||
#if defined(HAVE_DECL_SIGPWR)
|
#if defined(HAVE_DECL_SIGPWR) && HAVE_DECL_SIGPWR
|
||||||
SIGPWR,
|
SIGPWR,
|
||||||
#endif
|
#endif
|
||||||
-1
|
-1
|
||||||
|
|||||||
Reference in New Issue
Block a user