summaryrefslogtreecommitdiff
path: root/boost/exception/detail/attribute_noreturn.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'boost/exception/detail/attribute_noreturn.hpp')
-rw-r--r--boost/exception/detail/attribute_noreturn.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/boost/exception/detail/attribute_noreturn.hpp b/boost/exception/detail/attribute_noreturn.hpp
index f6a0b5903e..ae9f031efe 100644
--- a/boost/exception/detail/attribute_noreturn.hpp
+++ b/boost/exception/detail/attribute_noreturn.hpp
@@ -9,7 +9,7 @@
#if defined(_MSC_VER)
#define BOOST_ATTRIBUTE_NORETURN __declspec(noreturn)
#elif defined(__GNUC__)
-#define BOOST_ATTRIBUTE_NORETURN __attribute__((noreturn))
+#define BOOST_ATTRIBUTE_NORETURN __attribute__((__noreturn__))
#else
#define BOOST_ATTRIBUTE_NORETURN
#endif