Added support for GCC.

[SVN r54668]
This commit is contained in:
Andrey Semashev
2009-07-05 09:25:58 +00:00
parent e2882e8251
commit bd19b50db3

View File

@ -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