Don't test locales with MSVC: setlocale sometimes bombs out.

[SVN r27503]
This commit is contained in:
John Maddock
2005-02-25 11:04:11 +00:00
parent 31370cd498
commit ef25339d94

View File

@ -153,9 +153,14 @@ void test_en_locale(const char* name, boost::uint32_t lcid)
void test_en_locale()
{
// VC6 seems to have problems with std::setlocale, I've never
// gotten to the bottem of this as the program runs fine under the
// debugger, but hangs when run from bjam:
#if !BOOST_WORKAROUND(BOOST_MSVC_, <=1200)
test_en_locale("en_US", 0x09 | 0x01 << 10);
test_en_locale("en_UK", 0x09 | 0x02 << 10);
test_en_locale("en", 0x09);
#endif
}