summaryrefslogtreecommitdiff
path: root/snippet/_Noreturn.h
blob: 1a7b4daed0a18e3939896b4953ef37243ad0e237 (plain)
1
2
3
4
5
6
7
8
9
10
#ifndef _Noreturn
# 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