config.h: implemented `NORETURN` for GCC < 5 (#4361)
This commit is contained in:
parent
4bf5dcd29f
commit
38c7d0a5f8
|
@ -51,6 +51,8 @@
|
|||
|| defined(__clang__) \
|
||||
|| defined(__CPPCHECK__)
|
||||
# define NORETURN [[noreturn]]
|
||||
#elif defined(__GNUC__)
|
||||
# define NORETURN __attribute__((noreturn))
|
||||
#else
|
||||
# define NORETURN
|
||||
#endif
|
||||
|
|
Loading…
Reference in New Issue