changeset 39294:1c30fd058b7a

c-stack: Fix possible build failure on some platforms. * lib/c-stack.c (die): Define whenever this function is referenced.
author Bruno Haible <bruno@clisp.org>
date Wed, 28 Mar 2018 22:43:04 +0200
parents 76df1f39d95b
children 628bbf53398a
files ChangeLog lib/c-stack.c
diffstat 2 files changed, 6 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Wed Mar 28 12:45:45 2018 -0700
+++ b/ChangeLog	Wed Mar 28 22:43:04 2018 +0200
@@ -1,3 +1,8 @@
+2018-03-28  Bruno Haible  <bruno@clisp.org>
+
+	c-stack: Fix possible build failure on some platforms.
+	* lib/c-stack.c (die): Define whenever this function is referenced.
+
 2018-03-28  Paul Eggert  <eggert@cs.ucla.edu>
 
 	time_rz: fix workaround for Mac OS X 10.6 infloop
--- a/lib/c-stack.c	Wed Mar 28 12:45:45 2018 -0700
+++ b/lib/c-stack.c	Wed Mar 28 22:43:04 2018 +0200
@@ -101,7 +101,7 @@
 
 #if ((HAVE_LIBSIGSEGV && ! HAVE_XSI_STACK_OVERFLOW_HEURISTIC) \
      || (HAVE_SIGALTSTACK && HAVE_DECL_SIGALTSTACK            \
-         && HAVE_STACK_OVERFLOW_HANDLING && SIGINFO_WORKS))
+         && HAVE_STACK_OVERFLOW_HANDLING))
 
 /* Output an error message, then exit with status EXIT_FAILURE if it
    appears to have been a stack overflow, or with a core dump