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 #ifndef BOOST_SPIRIT_DEPRECATED_INCLUDE_SPIRIT 10 #define BOOST_SPIRIT_DEPRECATED_INCLUDE_SPIRIT 11 12 #include <boost/version.hpp> 13 14 #if BOOST_VERSION >= 103800 15 #if defined(_MSC_VER) || defined(__BORLANDC__) || defined(__DMC__) 16 # pragma message ("Warning: This header is deprecated. Please use: boost/spirit/include/classic.hpp") 17 #elif defined(__GNUC__) || defined(__HP_aCC) || defined(__SUNPRO_CC) || defined(__IBMCPP__) 18 # warning "This header is deprecated. Please use: boost/spirit/include/classic.hpp" 19 #endif 20 #endif 21 22 #if !defined(BOOST_SPIRIT_USE_OLD_NAMESPACE) 23 #define BOOST_SPIRIT_USE_OLD_NAMESPACE 24 #endif 25 #include <boost/spirit/include/classic.hpp> 26 27 #endif 28