source: NonGTP/Boost/boost/iostreams/detail/config/overload_resolution.hpp @ 857

Revision 857, 1.2 KB checked in by igarcia, 19 years ago (diff)
Line 
1// (C) Copyright Jonathan Turkanis 2003.
2// Distributed under the Boost Software License, Version 1.0. (See accompanying
3// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt.)
4
5// See http://www.boost.org/libs/iostreams for documentation.
6
7// Adapted from <boost/config/auto_link.hpp> and from
8// http://www.boost.org/more/separate_compilation.html, by John Maddock.
9
10#ifndef BOOST_IOSTREAMS_DETAIL_CONFIG_BROKEN_OVERLOAD_RESOLUTION_HPP_INCLUDED
11#define BOOST_IOSTREAMS_DETAIL_CONFIG_BROKEN_OVERLOAD_RESOLUTION_HPP_INCLUDED
12
13#if defined(_MSC_VER) && (_MSC_VER >= 1020)
14# pragma once
15#endif             
16
17#include <boost/config.hpp> // BOOST_MSVC.
18#include <boost/detail/workaround.hpp>
19#include <boost/iostreams/detail/config/gcc.hpp>
20
21#if !defined(BOOST_IOSTREAMS_BROKEN_OVERLOAD_RESOLUTION)
22# if BOOST_WORKAROUND(__MWERKS__, <= 0x3003) || \
23     BOOST_WORKAROUND(__BORLANDC__, < 0x600) || \
24     BOOST_WORKAROUND(BOOST_MSVC, <= 1300) || \
25     BOOST_WORKAROUND(BOOST_IOSTREAMS_GCC, <= 295) \
26     /**/
27#  define BOOST_IOSTREAMS_BROKEN_OVERLOAD_RESOLUTION
28# endif
29#endif
30
31#endif // #ifndef BOOST_IOSTREAMS_DETAIL_CONFIG_BROKEN_OVERLOAD_RESOLUTION_HPP_INCLUDED
Note: See TracBrowser for help on using the repository browser.