From 7f03b52bd61e64f2627fa0891582f981cc215e0d Mon Sep 17 00:00:00 2001 From: Omar Polo Date: Thu, 8 Sep 2022 20:51:13 +0000 Subject: [PATCH] shim for __dead --- configure | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/configure b/configure index 485166b..1e179ae 100755 --- a/configure +++ b/configure @@ -417,6 +417,14 @@ if [ ${HAVE_VASPRINTF} -eq 0 ]; then echo "extern int vasprintf(char**, const char*, va_list);" COBJS="${COBJS} compat/vasprintf.o" fi + +cat <<__HEREDOC__ + +#ifndef __dead +#define __dead __attribute__((noreturn)) +#endif +__HEREDOC__ + echo "file config.h: written" 1>&2 echo "file config.h: written" 1>&3