summaryrefslogtreecommitdiff
path: root/boost/locale/encoding.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'boost/locale/encoding.hpp')
-rw-r--r--boost/locale/encoding.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/boost/locale/encoding.hpp b/boost/locale/encoding.hpp
index 24742bf053..5fd9cb745c 100644
--- a/boost/locale/encoding.hpp
+++ b/boost/locale/encoding.hpp
@@ -212,7 +212,7 @@ namespace boost {
template<>
BOOST_LOCALE_DECL std::string from_utf(wchar_t const *begin,wchar_t const *end,std::string const &charset,method_type how);
- #ifdef BOOST_HAS_CHAR16_T
+ #ifdef BOOST_LOCALE_ENABLE_CHAR16_T
template<>
BOOST_LOCALE_DECL std::basic_string<char16_t> to_utf(char const *begin,char const *end,std::string const &charset,method_type how);
@@ -220,7 +220,7 @@ namespace boost {
BOOST_LOCALE_DECL std::string from_utf(char16_t const *begin,char16_t const *end,std::string const &charset,method_type how);
#endif
- #ifdef BOOST_HAS_CHAR32_T
+ #ifdef BOOST_LOCALE_ENABLE_CHAR32_T
template<>
BOOST_LOCALE_DECL std::basic_string<char32_t> to_utf(char const *begin,char const *end,std::string const &charset,method_type how);