[857] | 1 | // ----------------------------------------------------------------------------
|
---|
| 2 | // workarounds_stlport.hpp : workaround STLport issues
|
---|
| 3 | // ----------------------------------------------------------------------------
|
---|
| 4 |
|
---|
| 5 | // Copyright Samuel Krempp 2003. Use, modification, and distribution are
|
---|
| 6 | // subject to the Boost Software License, Version 1.0. (See accompanying
|
---|
| 7 | // file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
|
---|
| 8 |
|
---|
| 9 | // see http://www.boost.org/libs/format for library home page
|
---|
| 10 |
|
---|
| 11 | // ----------------------------------------------------------------------------
|
---|
| 12 |
|
---|
| 13 | #ifndef BOOST_MACROS_STLPORT_HPP
|
---|
| 14 | #define BOOST_MACROS_STLPORT_HPP
|
---|
| 15 |
|
---|
| 16 | #if defined(_STLPORT_VERSION) && BOOST_WORKAROUND( BOOST_MSVC, <= 1300)
|
---|
| 17 | // msvc-6-stlport fails to find basic_string::append( iterator, iterator) when linking
|
---|
| 18 | // might affect other MSwindows compilers
|
---|
| 19 | #define BOOST_NO_STRING_APPEND
|
---|
| 20 | #endif
|
---|
| 21 |
|
---|
| 22 | // *** This should go to "boost/config/stdlib/stlport.hpp".
|
---|
| 23 |
|
---|
| 24 | // If the streams are not native and there are problems with using templates
|
---|
| 25 | // accross namespaces, we define some macros to enable a workaround for this.
|
---|
| 26 |
|
---|
| 27 | // STLport 4.5
|
---|
| 28 | #if !defined(_STLP_OWN_IOSTREAMS) && defined(_STLP_USE_NAMESPACES) && defined(BOOST_NO_USING_TEMPLATE)
|
---|
| 29 | # define BOOST_IO_STD
|
---|
| 30 | # define BOOST_IO_NEEDS_USING_DECLARATION
|
---|
| 31 | #endif
|
---|
| 32 |
|
---|
| 33 | // STLport 4.0
|
---|
| 34 | #if !defined(__SGI_STL_OWN_IOSTREAMS) && defined(__STL_USE_OWN_NAMESPACE) && defined(BOOST_NO_USING_TEMPLATE)
|
---|
| 35 | # define BOOST_IO_STD
|
---|
| 36 | # define BOOST_IO_NEEDS_USING_DECLARATION
|
---|
| 37 | #endif
|
---|
| 38 |
|
---|
| 39 |
|
---|
| 40 | // ----------------------------------------------------------------------------
|
---|
| 41 |
|
---|
| 42 | #endif // BOOST_MACROS_STLPORT_HPP
|
---|