Skip to content

Commit

Permalink
compiler: __attribute__((noreturn)) on bionic
Browse files Browse the repository at this point in the history
Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
  • Loading branch information
Christian Brauner committed Sep 23, 2018
1 parent e006ecb commit 534aaf4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lxc/compiler.h
Expand Up @@ -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))
Expand Down

0 comments on commit 534aaf4

Please sign in to comment.