equal
deleted
inserted
replaced
|
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_new_RECURSION2 |
|
11 # define BOOST_TR1_NO_new_RECURSION3 |
|
12 #elif defined(BOOST_TR1_NO_new_RECURSION) |
|
13 # define BOOST_TR1_NO_new_RECURSION2 |
|
14 #elif !defined(BOOST_TR1_NO_RECURSION) |
|
15 # define BOOST_TR1_NO_RECURSION |
|
16 # define BOOST_TR1_NO_new_RECURSION |
|
17 #endif |
|
18 |
|
19 # include <boost/tr1/detail/config_all.hpp> |
|
20 # ifdef BOOST_HAS_INCLUDE_NEXT |
|
21 # include_next <new> |
|
22 # else |
|
23 # include BOOST_TR1_STD_HEADER(new) |
|
24 # endif |
|
25 |
|
26 #ifdef BOOST_TR1_NO_new_RECURSION3 |
|
27 # undef BOOST_TR1_NO_new_RECURSION3 |
|
28 #elif defined(BOOST_TR1_NO_new_RECURSION2) |
|
29 # undef BOOST_TR1_NO_new_RECURSION2 |
|
30 #elif defined(BOOST_TR1_NO_new_RECURSION) |
|
31 # undef BOOST_TR1_NO_new_RECURSION |
|
32 # undef BOOST_TR1_NO_RECURSION |
|
33 #endif |
|
34 |
|
35 |