From ade04d122e54ec1590b48278b569018ce3d6fa7e Mon Sep 17 00:00:00 2001 From: Jens Maurer Date: Thu, 20 Sep 2001 20:15:02 +0000 Subject: [PATCH] no standard allocator if no member template classes [SVN r11178] --- 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 61990e63..2e674fa5 100644 --- a/include/boost/config/stdlib/stlport.hpp +++ b/include/boost/config/stdlib/stlport.hpp @@ -54,6 +54,10 @@ # define BOOST_NO_STD_ALLOCATOR #endif +#if !defined(_STLP_MEMBER_TEMPLATE_CLASSES) +# define BOOST_NO_STD_ALLOCATOR +#endif + // // We always have SGI style hash_set, hash_map, and slist: //