]> git.lyx.org Git - lyx.git/blobdiff - boost/boost/shared_ptr.hpp
* lib/doc/Makefile.am:
[lyx.git] / boost / boost / shared_ptr.hpp
index 1924c9fe04241236b50997ea933890c8dac48099..9edc86ffaa35b2fc2fda0d13a2ad531a62297eb0 100644 (file)
@@ -504,6 +504,9 @@ template<class Y> std::ostream & operator<< (std::ostream & os, shared_ptr<Y> co
 
 #else
 
+// in STLport's no-iostreams mode no iostream symbols can be used
+#ifndef _STLP_NO_IOSTREAMS
+
 # if defined(BOOST_MSVC) && BOOST_WORKAROUND(BOOST_MSVC, < 1300 && __SGI_STL_PORT)
 // MSVC6 has problems finding std::basic_ostream through the using declaration in namespace _STL
 using std::basic_ostream;
@@ -516,7 +519,9 @@ template<class E, class T, class Y> std::basic_ostream<E, T> & operator<< (std::
     return os;
 }
 
-#endif
+#endif // _STLP_NO_IOSTREAMS
+
+#endif // __GNUC__ < 3
 
 // get_deleter (experimental)