From 6a41c69ad6a1db7b85dd3d71b1baf855e7dad40c Mon Sep 17 00:00:00 2001 From: Dave Abrahams Date: Mon, 3 Dec 2001 14:35:11 +0000 Subject: [PATCH] Fixed locale support macro definitions [SVN r11872] --- include/boost/config/compiler/metrowerks.hpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/include/boost/config/compiler/metrowerks.hpp b/include/boost/config/compiler/metrowerks.hpp index df26a691..b17308f4 100644 --- a/include/boost/config/compiler/metrowerks.hpp +++ b/include/boost/config/compiler/metrowerks.hpp @@ -7,7 +7,10 @@ // Metrowerks C++ compiler setup: -# define BOOST_NO_STD_LOCALE // missing ctype_base +// locale support is disabled when linking with the dynamic runtime +# ifdef _MSL_NO_LOCALE +# define BOOST_NO_STD_LOCALE +# endif # if __MWERKS__ <= 0x2301 // 5.3 # define BOOST_NO_FUNCTION_TEMPLATE_ORDERING