]> Savannah Git Hosting - gnulib.git/commitdiff
c-stack: Fix possible build failure on some platforms.
authorBruno Haible <bruno@clisp.org>
Wed, 28 Mar 2018 20:43:04 +0000 (22:43 +0200)
committerBruno Haible <bruno@clisp.org>
Wed, 28 Mar 2018 20:43:04 +0000 (22:43 +0200)
* lib/c-stack.c (die): Define whenever this function is referenced.

ChangeLog
lib/c-stack.c

index bd8df9a1e385915fbcfe0099b39d540d1ae70bf2..769fa380d892be8893c661b246fa74853c935efb 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -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
index c309666fee713315a94a61d82ca4b826a9b23c57..9bbe6fe8ff49b1157892aecdc0f7ee7d0303d272 100644 (file)
@@ -101,7 +101,7 @@ static char const * volatile stack_overflow_message;
 
 #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