summaryrefslogtreecommitdiff
path: root/boost/exception/detail/is_output_streamable.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'boost/exception/detail/is_output_streamable.hpp')
-rw-r--r--boost/exception/detail/is_output_streamable.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/boost/exception/detail/is_output_streamable.hpp b/boost/exception/detail/is_output_streamable.hpp
index 743313c1ec..847f3484b8 100644
--- a/boost/exception/detail/is_output_streamable.hpp
+++ b/boost/exception/detail/is_output_streamable.hpp
@@ -5,7 +5,7 @@
#ifndef UUID_898984B4076411DD973EDFA055D89593
#define UUID_898984B4076411DD973EDFA055D89593
-#if defined(__GNUC__) && !defined(BOOST_EXCEPTION_ENABLE_WARNINGS)
+#if (__GNUC__*100+__GNUC_MINOR__>301) && !defined(BOOST_EXCEPTION_ENABLE_WARNINGS)
#pragma GCC system_header
#endif
#if defined(_MSC_VER) && !defined(BOOST_EXCEPTION_ENABLE_WARNINGS)