diff --git a/include/picrin/util.h b/include/picrin/util.h index ec4b2a9d..f5971832 100644 --- a/include/picrin/util.h +++ b/include/picrin/util.h @@ -10,9 +10,11 @@ extern "C" { #endif #if __STDC_VERSION__ >= 201112L -# define noreturn _Noreturn +# include #elif __GNUC__ || __clang__ # define noreturn __attribute__((noreturn)) +#else +# define noreturn #endif #define FALLTHROUGH ((void)0)