Restrict gcc pragma to gcc-4.0 and later.

[SVN r79286]
This commit is contained in:
John Maddock
2012-07-05 15:46:18 +00:00
parent 960c85dedc
commit 9903a5539d

View File

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