X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=build-aux%2Fsnippet%2F_Noreturn.h;fp=build-aux%2Fsnippet%2F_Noreturn.h;h=c44ad89b7c09315601bfb48467992f9fff797093;hb=dc84183747ce1703eb99685b5dbde1f65a143c06;hp=0000000000000000000000000000000000000000;hpb=a2016c1de6e4884f6c8ed5cc498f3bf821c25ca4;p=debian%2Fgzip diff --git a/build-aux/snippet/_Noreturn.h b/build-aux/snippet/_Noreturn.h new file mode 100644 index 0000000..c44ad89 --- /dev/null +++ b/build-aux/snippet/_Noreturn.h @@ -0,0 +1,10 @@ +#if !defined _Noreturn && __STDC_VERSION__ < 201112 +# if (3 <= __GNUC__ || (__GNUC__ == 2 && 8 <= __GNUC_MINOR__) \ + || 0x5110 <= __SUNPRO_C) +# define _Noreturn __attribute__ ((__noreturn__)) +# elif 1200 <= _MSC_VER +# define _Noreturn __declspec (noreturn) +# else +# define _Noreturn +# endif +#endif