mirror of
https://github.com/boostorg/exception.git
synced 2025-07-21 16:32:05 +02:00
Added support for GCC.
[SVN r54668]
This commit is contained in:
@ -10,6 +10,8 @@
|
|||||||
|
|
||||||
#if defined(BOOST_MSVC)
|
#if defined(BOOST_MSVC)
|
||||||
#define BOOST_ATTRIBUTE_NORETURN __declspec(noreturn)
|
#define BOOST_ATTRIBUTE_NORETURN __declspec(noreturn)
|
||||||
|
#elif defined(__GNUC__)
|
||||||
|
#define BOOST_ATTRIBUTE_NORETURN __attribute__((noreturn))
|
||||||
#else
|
#else
|
||||||
#define BOOST_ATTRIBUTE_NORETURN
|
#define BOOST_ATTRIBUTE_NORETURN
|
||||||
#endif
|
#endif
|
||||||
|
Reference in New Issue
Block a user