diff options
Diffstat (limited to '3rdParty/Boost/src/boost/detail/utf8_codecvt_facet.hpp')
-rw-r--r-- | 3rdParty/Boost/src/boost/detail/utf8_codecvt_facet.hpp | 21 |
1 files changed, 7 insertions, 14 deletions
diff --git a/3rdParty/Boost/src/boost/detail/utf8_codecvt_facet.hpp b/3rdParty/Boost/src/boost/detail/utf8_codecvt_facet.hpp index ac7e7bf..b777ff9 100644 --- a/3rdParty/Boost/src/boost/detail/utf8_codecvt_facet.hpp +++ b/3rdParty/Boost/src/boost/detail/utf8_codecvt_facet.hpp @@ -79,25 +79,18 @@ // specialized on those types for this to work. #include <locale> -// for mbstate_t -#include <wchar.h> -// for std::size_t -#include <cstddef> +#include <cwchar> // for mbstate_t +#include <cstddef> // for std::size_t #include <boost/config.hpp> #include <boost/detail/workaround.hpp> +#if defined(BOOST_NO_STDC_NAMESPACE) namespace std { - #if defined(__LIBCOMO__) - using ::mbstate_t; - #elif defined(BOOST_DINKUMWARE_STDLIB) && !defined(__BORLANDC__) - using ::mbstate_t; - #elif defined(__SGI_STL_PORT) - #elif defined(BOOST_NO_STDC_NAMESPACE) - using ::mbstate_t; - using ::codecvt; - #endif -} // namespace std + using ::mbstate_t; + using ::size_t; +} +#endif #if !defined(__MSL_CPP__) && !defined(__LIBCOMO__) #define BOOST_CODECVT_DO_LENGTH_CONST const |