mirror of
https://github.com/boostorg/throw_exception.git
synced 2025-07-20 15:52:15 +02:00
Added support for GCC.
[SVN r54668]
This commit is contained in:
committed by
Peter Dimov
parent
19c5621747
commit
5ea7b4a6ba
@ -10,6 +10,8 @@
|
||||
|
||||
#if defined(BOOST_MSVC)
|
||||
#define BOOST_ATTRIBUTE_NORETURN __declspec(noreturn)
|
||||
#elif defined(__GNUC__)
|
||||
#define BOOST_ATTRIBUTE_NORETURN __attribute__((noreturn))
|
||||
#else
|
||||
#define BOOST_ATTRIBUTE_NORETURN
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user