From 534aaf45d2d2852a5169b51bdeea59088c4ea65e Mon Sep 17 00:00:00 2001 From: Christian Brauner Date: Sun, 23 Sep 2018 20:16:12 +0200 Subject: [PATCH] compiler: __attribute__((noreturn)) on bionic Signed-off-by: Christian Brauner --- src/lxc/compiler.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lxc/compiler.h b/src/lxc/compiler.h index 6916fe9e70..76a7b733d0 100644 --- a/src/lxc/compiler.h +++ b/src/lxc/compiler.h @@ -39,7 +39,7 @@ #endif #ifndef _noreturn_ -#if __STDC_VERSION__ >= 201112L +#if __STDC_VERSION__ >= 201112L && !IS_BIONIC #define __noreturn _Noreturn #else #define __noreturn __attribute__((noreturn))