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
#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