]> git.lyx.org Git - lyx.git/blob - boost/boost/format/detail/workarounds_stlport.hpp
Boost 1.31.0
[lyx.git] / boost / boost / format / detail / workarounds_stlport.hpp
1 // -*- C++ -*-
2 //  Boost general library 'format'   ---------------------------
3 //  See http://www.boost.org for updates, documentation, and revision history.
4
5 //  (C) Samuel Krempp 2001
6 //  Permission to copy, use, modify, sell and
7 //  distribute this software is granted provided this copyright notice appears
8 //  in all copies. This software is provided "as is" without express or implied
9 //  warranty, and with no claim as to its suitability for any purpose.
10
11 // ideas taken from RĂ¼diger Loos's format class
12 // and Karl Nelson's ofstream (also took its parsing code as basis for printf parsing)
13
14 // ------------------------------------------------------------------------------
15 // workarounds_stlport.hpp : configuration for the format library
16 // The contents of this file should be integrated into the boost config system.
17 // ------------------------------------------------------------------------------
18
19 #ifndef BOOST_MACROS_STLPORT_HPP
20 #define BOOST_MACROS_STLPORT_HPP
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