modifications to accomodate stlport and dinkumware

[SVN r27451]
This commit is contained in:
Robert Ramey
2005-02-20 22:19:09 +00:00
parent 24b07509e6
commit 30f03c5423

View File

@@ -86,19 +86,20 @@
// for std::size_t // for std::size_t
#include <cstddef> #include <cstddef>
#include <boost/program_options/config.hpp> #include <boost/config.hpp>
#include <boost/detail/workaround.hpp> #include <boost/detail/workaround.hpp>
#if defined(BOOST_NO_STDC_NAMESPACE)
namespace std { namespace std {
#if defined(__LIBCOMO__)
using ::mbstate_t; using ::mbstate_t;
#elif defined(BOOST_DINKUMWARE_STDLIB)
// Note: the serialization's version has using for using ::mbstate_t;
// __LIBCOMO__ and for BOOST_DINKUMWARE_STDLIB. #elif defined(__SGI_STL_PORT)
// Don't know why -- trying without. #elif defined(BOOST_NO_STDC_NAMESPACE)
} using ::mbstate_t;
using ::codecvt;
#endif #endif
} // namespace std
#if !defined(__MSL_CPP__) && !defined(__LIBCOMO__) #if !defined(__MSL_CPP__) && !defined(__LIBCOMO__)
#define BOOST_CODECVT_DO_LENGTH_CONST const #define BOOST_CODECVT_DO_LENGTH_CONST const