mirror of https://github.com/omar-polo/gmid.git
shim for __dead
This commit is contained in:
parent
f7c6f7155a
commit
7f03b52bd6
|
@ -417,6 +417,14 @@ if [ ${HAVE_VASPRINTF} -eq 0 ]; then
|
||||||
echo "extern int vasprintf(char**, const char*, va_list);"
|
echo "extern int vasprintf(char**, const char*, va_list);"
|
||||||
COBJS="${COBJS} compat/vasprintf.o"
|
COBJS="${COBJS} compat/vasprintf.o"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
cat <<__HEREDOC__
|
||||||
|
|
||||||
|
#ifndef __dead
|
||||||
|
#define __dead __attribute__((noreturn))
|
||||||
|
#endif
|
||||||
|
__HEREDOC__
|
||||||
|
|
||||||
echo "file config.h: written" 1>&2
|
echo "file config.h: written" 1>&2
|
||||||
echo "file config.h: written" 1>&3
|
echo "file config.h: written" 1>&3
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue