Fix 'unknown pragma' warnings with MSVC 9

#pragma detect_mismatch is only supported since MSVC 10.
This commit is contained in:
Andrey Semashev
2014-10-29 23:41:06 +03:00
parent 719392271a
commit b8bfae2e75

View File

@ -104,7 +104,7 @@
#if (_MSC_VER >= 1400) && !defined(_DEBUG)
# define BOOST_HAS_NRVO
#endif
#if _MSC_VER >= 1500 // 150X == VC++ 9.0
#if _MSC_VER >= 1600 // 160X == VC++ 10.0
# define BOOST_HAS_PRAGMA_DETECT_MISMATCH
#endif
//