summaryrefslogtreecommitdiff
path: root/boost/type_traits/is_virtual_base_of.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'boost/type_traits/is_virtual_base_of.hpp')
-rw-r--r--boost/type_traits/is_virtual_base_of.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/boost/type_traits/is_virtual_base_of.hpp b/boost/type_traits/is_virtual_base_of.hpp
index ffb021e69e..f57cb61876 100644
--- a/boost/type_traits/is_virtual_base_of.hpp
+++ b/boost/type_traits/is_virtual_base_of.hpp
@@ -23,7 +23,7 @@ namespace detail {
#ifdef BOOST_MSVC
#pragma warning( push )
#pragma warning( disable : 4584 4250)
-#elif defined __GNUC__
+#elif defined(__GNUC__) && (__GNUC__ >= 4)
#pragma GCC system_header
#endif