Commit 3579e1b4 authored by Jens Gustedt's avatar Jens Gustedt
Browse files

pull the definition of "_Noreturn" outside of "noreturn", the support for this...

pull the definition of "_Noreturn" outside of "noreturn", the support for this feature seems to be diverging
parent 4208bd1a
......@@ -725,14 +725,16 @@ static_assert(1);
#elif !defined(noreturn)
# define noreturn _Noreturn
# if !p99_has_feature(c_noreturn)
# if p99_has_attribute(noreturn)
# define _Noreturn __attribute__((__noreturn__))
# elif p99_has_feature(pragma_noreturn)
# define _Noreturn _Pragma(NORETURN)
# else
# define _Noreturn /* noreturn feature is not implemented */
# endif
#endif
#ifdef P00_DOXYGEN
#elif !p99_has_feature(c_noreturn)
# if p99_has_attribute(noreturn)
# define _Noreturn __attribute__((__noreturn__))
# elif p99_has_feature(pragma_noreturn)
# define _Noreturn _Pragma(NORETURN)
# else
# define _Noreturn /* noreturn feature is not implemented */
# endif
#endif
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment