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