--- a/libs/property_tree/test/test_property_tree.hpp
+++ b/libs/property_tree/test/test_property_tree.hpp
@@ -1096,7 +1096,9 @@ void test_locale(PTREE *)
 
         // Test contents
         BOOST_TEST(pt.get<PTREE::data_type>(T("english")) == T("1.234"));
+#ifdef __GLIBC__
         BOOST_TEST(pt.get<PTREE::data_type>(T("french")) == T("1,234"));
+#endif
 
     }
     catch (boost::property_tree::ptree_error &)
