]>
Commit | Line | Data |
---|---|---|
1 | // (C) Copyright John Maddock 2005. | |
2 | // Use, modification and distribution are subject to the | |
3 | // Boost Software License, Version 1.0. (See accompanying file | |
4 | // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) | |
5 | // | |
6 | // This file exists to prevent std lib headers from accidentally | |
7 | // including a TR1 extention header; we must suppress this otherwise | |
8 | // we can end up with cyclic dependencies with some std lib implementations. | |
9 | // | |
10 | #ifdef BOOST_TR1_NO_stdexcept_RECURSION2 | |
11 | # define BOOST_TR1_NO_stdexcept_RECURSION3 | |
12 | #elif defined(BOOST_TR1_NO_stdexcept_RECURSION) | |
13 | # define BOOST_TR1_NO_stdexcept_RECURSION2 | |
14 | #elif !defined(BOOST_TR1_NO_RECURSION) | |
15 | # define BOOST_TR1_NO_RECURSION | |
16 | # define BOOST_TR1_NO_stdexcept_RECURSION | |
17 | #endif | |
18 | ||
19 | # include <boost/tr1/detail/config_all.hpp> | |
20 | # if defined(BOOST_HAS_INCLUDE_NEXT) && !defined(BOOST_TR1_DISABLE_INCLUDE_NEXT) | |
21 | # include_next <stdexcept> | |
22 | # else | |
23 | # include BOOST_TR1_STD_HEADER(stdexcept) | |
24 | # endif | |
25 | ||
26 | #ifdef BOOST_TR1_NO_stdexcept_RECURSION3 | |
27 | # undef BOOST_TR1_NO_stdexcept_RECURSION3 | |
28 | #elif defined(BOOST_TR1_NO_stdexcept_RECURSION2) | |
29 | # undef BOOST_TR1_NO_stdexcept_RECURSION2 | |
30 | #elif defined(BOOST_TR1_NO_stdexcept_RECURSION) | |
31 | # undef BOOST_TR1_NO_stdexcept_RECURSION | |
32 | # undef BOOST_TR1_NO_RECURSION | |
33 | #endif | |
34 |