diff options
Diffstat (limited to 'utils/porting.h')
-rw-r--r-- | utils/porting.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/utils/porting.h b/utils/porting.h index 6bb7fa91f..b0d1f1af9 100644 --- a/utils/porting.h +++ b/utils/porting.h @@ -72,4 +72,10 @@ # error "Unknown host byte order!" #endif +#if defined __GNUC__ || defined __ICC +# define attribute_noreturn __attribute__ ((__noreturn__)) +#else +# define attribute_noreturn +#endif + #endif |