]> git.lyx.org Git - lyx.git/blob - boost/boost/format/macros_stlport.hpp
update boost to pre-1.30.0
[lyx.git] / boost / boost / format / macros_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 //                  krempp@crans.ens-cachan.fr
7 //  Permission to copy, use, modify, sell and
8 //  distribute this software is granted provided this copyright notice appears
9 //  in all copies. This software is provided "as is" without express or implied
10 //  warranty, and with no claim as to its suitability for any purpose.
11
12 // ideas taken from RĂ¼diger Loos's format class
13 // and Karl Nelson's ofstream (also took its parsing code as basis for printf parsing)
14
15 // ------------------------------------------------------------------------------
16 // macros_stlport.hpp : configuration for the format library
17 // The contents of this file should be integrated into the boost config system.
18 // ------------------------------------------------------------------------------
19
20 #ifndef BOOST_MACROS_STLPORT_HPP
21 #define BOOST_MACROS_STLPORT_HPP
22
23 #include <boost/config.hpp>
24
25 // *** This should go to "boost/config/stdlib/stlport.hpp".
26
27 // If the streams are not native and there are problems with using templates
28 // accross namespaces, we define some macros to enable a workaround for this.
29
30 // STLport 4.5
31 #if !defined(_STLP_OWN_IOSTREAMS) && defined(_STLP_USE_NAMESPACES) && defined(BOOST_NO_USING_TEMPLATE)
32 #  define BOOST_IO_STD 
33 #  define BOOST_IO_NEEDS_USING_DECLARATION
34 #endif
35
36 // STLport 4.0
37 #if !defined(__SGI_STL_OWN_IOSTREAMS) && defined(__STL_USE_OWN_NAMESPACE) && defined(BOOST_NO_USING_TEMPLATE)
38 #  define BOOST_IO_STD 
39 #  define BOOST_IO_NEEDS_USING_DECLARATION
40 #endif
41
42
43 // ------------------------------------------------------------------------------
44
45 #endif // BOOST_MACROS_STLPORT_HPP