]> git.lyx.org Git - lyx.git/blob - boost/boost/type_traits/config.hpp
Boost 1.31.0
[lyx.git] / boost / boost / type_traits / config.hpp
1
2 //  (C) Copyright Steve Cleary, Beman Dawes, Howard Hinnant & John Maddock 2000.
3 //  Use, modification and distribution are subject to the Boost Software License,
4 //  Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
5 //  http://www.boost.org/LICENSE_1_0.txt).
6 //
7 //  See http://www.boost.org/libs/type_traits for most recent version including documentation.
8
9 #ifndef BOOST_TT_CONFIG_HPP_INCLUDED
10 #define BOOST_TT_CONFIG_HPP_INCLUDED
11
12 #ifndef BOOST_CONFIG_HPP
13 #include "boost/config.hpp"
14 #endif
15
16 //
17 // whenever we have a conversion function with elipses
18 // it needs to be declared __cdecl to suppress compiler
19 // warnings from MS and Borland compilers (this *must*
20 // appear before we include is_same.hpp below):
21 #if defined(BOOST_MSVC) || (defined(__BORLANDC__) && !defined(BOOST_DISABLE_WIN32))
22 #   define BOOST_TT_DECL __cdecl
23 #else
24 #   define BOOST_TT_DECL /**/
25 #endif
26
27 # if (defined(__MWERKS__) && __MWERKS__ >= 0x3000) || (defined(BOOST_MSVC) && (BOOST_MSVC > 1301)) || defined(__EDG_VERSION__) || (defined(__GNUC__) && (__GNUC__ >= 3)) || defined(BOOST_NO_COMPILER_CONFIG)
28 #   define BOOST_TT_HAS_CONFORMING_IS_CLASS_IMPLEMENTATION
29 #endif
30
31 #endif // BOOST_TT_CONFIG_HPP_INCLUDED
32
33