add __dead__ annotation support

This commit is contained in:
Brent Cook
2019-02-09 09:03:13 -06:00
parent 5535242ec1
commit 535246269d
3 changed files with 10 additions and 0 deletions

View File

@@ -98,6 +98,7 @@ char buf[1]; getentropy(buf, 1);
HOST_OS=openbsd
HOST_ABI=elf
AC_DEFINE([HAVE_ATTRIBUTE__BOUNDED__], [1], [OpenBSD gcc has bounded])
AC_DEFINE([HAVE_ATTRIBUTE__DEAD], [1], [OpenBSD gcc has __dead])
;;
*mingw*)
HOST_OS=win