From: Christian Brauner Date: Sun, 23 Sep 2018 18:16:12 +0000 (+0200) Subject: compiler: __attribute__((noreturn)) on bionic X-Git-Tag: lxc-3.1.0~93^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=534aaf45d2d2852a5169b51bdeea59088c4ea65e;p=thirdparty%2Flxc.git compiler: __attribute__((noreturn)) on bionic Signed-off-by: Christian Brauner --- diff --git a/src/lxc/compiler.h b/src/lxc/compiler.h index 6916fe9e7..76a7b733d 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))