From 28f50c3295f2b2e74a86c0248085f82e938f1e7d Mon Sep 17 00:00:00 2001 From: John Maddock Date: Tue, 3 Feb 2004 12:41:45 +0000 Subject: [PATCH] std lib extension namespace is stdext on vc7.1 [SVN r22148] --- include/boost/config/stdlib/dinkumware.hpp | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/include/boost/config/stdlib/dinkumware.hpp b/include/boost/config/stdlib/dinkumware.hpp index d3fc190b..c2451a28 100644 --- a/include/boost/config/stdlib/dinkumware.hpp +++ b/include/boost/config/stdlib/dinkumware.hpp @@ -61,6 +61,15 @@ # endif #endif +// +// std extension namespace is stdext for vc7.1 and later, +// the same applies to other compilers that sit on top +// of vc7.1 (Intel and Comeau): +// +#if defined(_MSC_VER) && (_MSC_VER >= 1310) && !defined(__BORLANDC__) +# define BOOST_STD_EXTENSION_NAMESPACE stdext +#endif + #if (defined(_MSC_VER) && (_MSC_VER <= 1300) && !defined(__BORLANDC__)) || !defined(_CPPLIB_VER) || (_CPPLIB_VER < 306) // if we're using a dinkum lib that's