From 7ab5f3e52b03e4531c9d4c9bd28b379f2acdc2c5 Mon Sep 17 00:00:00 2001 From: John Maddock Date: Fri, 14 Nov 2003 12:37:35 +0000 Subject: [PATCH] Fixed support for STLPort-4.6 on MSVC 6 (std::allocator rebinding doesn't work). [SVN r20808] --- include/boost/config/stdlib/stlport.hpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/include/boost/config/stdlib/stlport.hpp b/include/boost/config/stdlib/stlport.hpp index 332285e8..a2a06a8d 100644 --- a/include/boost/config/stdlib/stlport.hpp +++ b/include/boost/config/stdlib/stlport.hpp @@ -78,6 +78,10 @@ # define BOOST_NO_STD_ALLOCATOR #endif +#if defined(_STLP_NO_MEMBER_TEMPLATE_KEYWORD) && defined(BOOST_MSVC) && (BOOST_MSVC <= 1200) +# define BOOST_NO_STD_ALLOCATOR +#endif + // // We always have SGI style hash_set, hash_map, and slist: //