]> git.proxmox.com Git - ceph.git/blame - ceph/src/boost/libs/spirit/include/boost/spirit/home/classic/namespace.hpp
bump version to 12.2.2-pve1
[ceph.git] / ceph / src / boost / libs / spirit / include / boost / spirit / home / classic / namespace.hpp
CommitLineData
7c673cae
FG
1/*=============================================================================
2 Copyright (c) 2001-2008 Joel de Guzman
3 Copyright (c) 2001-2008 Hartmut Kaiser
4 http://spirit.sourceforge.net/
5
6 Distributed under the Boost Software License, Version 1.0. (See accompanying
7 file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
8=============================================================================*/
9#if !defined(SPIRIT_CLASSIC_NAMESPACE_HPP)
10#define SPIRIT_CLASSIC_NAMESPACE_HPP
11
12#if defined(BOOST_SPIRIT_USE_OLD_NAMESPACE)
13
14// Use the old namespace for Spirit.Classic, everything is located in the
15// namespace boost::spirit.
16// This is in place for backwards compatibility with Spirit V1.8.x. Don't use
17// it when combining Spirit.Classic with other parts of the library
18
19#define BOOST_SPIRIT_CLASSIC_NAMESPACE_BEGIN /*namespace classic {*/
20#define BOOST_SPIRIT_CLASSIC_NS boost::spirit/*::classic*/
21#define BOOST_SPIRIT_CLASSIC_NAMESPACE_END /*}*/
22
23#else
24
25// This is the normal (and suggested) mode of operation when using
26// Spirit.Classic. Everything will be located in the namespace
27// boost::spirit::classic, avoiding name clashes with other parts of Spirit.
28
29#define BOOST_SPIRIT_CLASSIC_NAMESPACE_BEGIN namespace classic {
30#define BOOST_SPIRIT_CLASSIC_NS boost::spirit::classic
31#define BOOST_SPIRIT_CLASSIC_NAMESPACE_END }
32
33#endif
34
35#endif