mirror of
https://github.com/boostorg/detail.git
synced 2025-07-29 20:07:15 +02:00
modifications to accomodate stlport and dinkumware
[SVN r27451]
This commit is contained in:
@ -86,19 +86,20 @@
|
||||
// for std::size_t
|
||||
#include <cstddef>
|
||||
|
||||
#include <boost/program_options/config.hpp>
|
||||
|
||||
#include <boost/config.hpp>
|
||||
#include <boost/detail/workaround.hpp>
|
||||
|
||||
#if defined(BOOST_NO_STDC_NAMESPACE)
|
||||
namespace std {
|
||||
using ::mbstate_t;
|
||||
|
||||
// Note: the serialization's version has using for
|
||||
// __LIBCOMO__ and for BOOST_DINKUMWARE_STDLIB.
|
||||
// Don't know why -- trying without.
|
||||
}
|
||||
#endif
|
||||
#if defined(__LIBCOMO__)
|
||||
using ::mbstate_t;
|
||||
#elif defined(BOOST_DINKUMWARE_STDLIB)
|
||||
using ::mbstate_t;
|
||||
#elif defined(__SGI_STL_PORT)
|
||||
#elif defined(BOOST_NO_STDC_NAMESPACE)
|
||||
using ::mbstate_t;
|
||||
using ::codecvt;
|
||||
#endif
|
||||
} // namespace std
|
||||
|
||||
#if !defined(__MSL_CPP__) && !defined(__LIBCOMO__)
|
||||
#define BOOST_CODECVT_DO_LENGTH_CONST const
|
||||
|
Reference in New Issue
Block a user