From b665c3e28c3c5ad3ceb4c2c0f20cd934ca979377 Mon Sep 17 00:00:00 2001 From: Bruno Haible Date: Wed, 28 Mar 2018 22:43:04 +0200 Subject: [PATCH] c-stack: Fix possible build failure on some platforms. * lib/c-stack.c (die): Define whenever this function is referenced. --- ChangeLog | 5 +++++ lib/c-stack.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index bd8df9a1e3..769fa380d8 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2018-03-28 Bruno Haible + + 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 time_rz: fix workaround for Mac OS X 10.6 infloop diff --git a/lib/c-stack.c b/lib/c-stack.c index c309666fee..9bbe6fe8ff 100644 --- a/lib/c-stack.c +++ b/lib/c-stack.c @@ -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 -- 2.39.5