spirit.hpp 1.1 KB

123456789101112131415161718192021222324252627
  1. /*=============================================================================
  2. Copyright (c) 2001-2008 Joel de Guzman
  3. Copyright (c) 2001-2008 Hartmut Kaiser
  4. http://spirit.sourceforge.net/
  5. Distributed under the Boost Software License, Version 1.0. (See accompanying
  6. file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
  7. =============================================================================*/
  8. #ifndef BOOST_SPIRIT_DEPRECATED_INCLUDE_SPIRIT
  9. #define BOOST_SPIRIT_DEPRECATED_INCLUDE_SPIRIT
  10. #include <boost/version.hpp>
  11. #if BOOST_VERSION >= 103800
  12. #if defined(_MSC_VER) || defined(__BORLANDC__) || defined(__DMC__)
  13. # pragma message ("Warning: This header is deprecated. Please use: boost/spirit/include/classic.hpp")
  14. #elif defined(__GNUC__) || defined(__HP_aCC) || defined(__SUNPRO_CC) || defined(__IBMCPP__)
  15. # warning "This header is deprecated. Please use: boost/spirit/include/classic.hpp"
  16. #endif
  17. #endif
  18. #if !defined(BOOST_SPIRIT_USE_OLD_NAMESPACE)
  19. #define BOOST_SPIRIT_USE_OLD_NAMESPACE
  20. #endif
  21. #include <boost/spirit/include/classic.hpp>
  22. #endif