shim for __dead

This commit is contained in:
Omar Polo 2022-09-08 20:51:13 +00:00
parent f7c6f7155a
commit 7f03b52bd6
1 changed files with 8 additions and 0 deletions

8
configure vendored
View File

@ -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