]> git.ipfire.org Git - thirdparty/lxc.git/commitdiff
compiler: __attribute__((noreturn)) on bionic 2642/head
authorChristian Brauner <christian.brauner@ubuntu.com>
Sun, 23 Sep 2018 18:16:12 +0000 (20:16 +0200)
committerChristian Brauner <christian.brauner@ubuntu.com>
Sun, 23 Sep 2018 18:16:12 +0000 (20:16 +0200)
Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
src/lxc/compiler.h

index 6916fe9e700ce27d8b7324ea0754c5b8f806871d..76a7b733d008615a0a73f573a73c2c7811bc9bac 100644 (file)
@@ -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))