mirror of
https://github.com/Xevion/easy7zip.git
synced 2025-12-07 18:06:55 -06:00
21.02
This commit is contained in:
@@ -40,4 +40,18 @@ you can change this h file or h files included in this file.
|
||||
#define MY_ARRAY_NEW(p, T, size) p = new T[size];
|
||||
#endif
|
||||
|
||||
#if (defined(__GNUC__) && (__GNUC__ >= 8))
|
||||
#define MY_ATTR_NORETURN __attribute__((noreturn))
|
||||
#elif (defined(__clang__) && (__clang_major__ >= 3))
|
||||
#if __has_feature(cxx_attributes)
|
||||
#define MY_ATTR_NORETURN [[noreturn]]
|
||||
#else
|
||||
#define MY_ATTR_NORETURN __attribute__ ((noreturn))
|
||||
#endif
|
||||
#elif (defined(_MSC_VER) && (_MSC_VER >= 1900))
|
||||
#define MY_ATTR_NORETURN [[noreturn]]
|
||||
#else
|
||||
#define MY_ATTR_NORETURN
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user