mountlist: Use Linux code on Android.
[gnulib.git] / lib / _Noreturn.h
blob94fdfaf0220f98b42c569d0f9040ee6df3306ce4
1 #ifndef _Noreturn
2 # if 201103 <= (defined __cplusplus ? __cplusplus : 0)
3 # define _Noreturn [[noreturn]]
4 # elif (201112 <= (defined __STDC_VERSION__ ? __STDC_VERSION__ : 0) \
5 || 4 < __GNUC__ + (7 <= __GNUC_MINOR__))
6 /* _Noreturn works as-is. */
7 # elif 2 < __GNUC__ + (8 <= __GNUC_MINOR__) || 0x5110 <= __SUNPRO_C
8 # define _Noreturn __attribute__ ((__noreturn__))
9 # elif 1200 <= (defined _MSC_VER ? _MSC_VER : 0)
10 # define _Noreturn __declspec (noreturn)
11 # else
12 # define _Noreturn
13 # endif
14 #endif