version.hpp 1.2 KB

123456789101112131415161718192021222324252627282930
  1. /*=============================================================================
  2. Copyright (c) 2001-2003 Hartmut Kaiser
  3. http://spirit.sourceforge.net/
  4. Distributed under the Boost Software License, Version 1.0. (See accompanying
  5. file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
  6. =============================================================================*/
  7. #if !defined(SPIRIT_CLASSIC_VERSION_HPP)
  8. #define SPIRIT_CLASSIC_VERSION_HPP
  9. ///////////////////////////////////////////////////////////////////////////////
  10. //
  11. // This checks, whether the used Boost library is at least V1.32.0
  12. //
  13. ///////////////////////////////////////////////////////////////////////////////
  14. #include <boost/version.hpp>
  15. #if BOOST_VERSION < 103200
  16. #error "Spirit v1.8.x needs at least Boost V1.32.0 to compile successfully."
  17. #endif
  18. ///////////////////////////////////////////////////////////////////////////////
  19. //
  20. // This is the version of the current Spirit distribution
  21. //
  22. ///////////////////////////////////////////////////////////////////////////////
  23. #define SPIRIT_VERSION 0x1806
  24. #define SPIRIT_PIZZA_VERSION SPIRIT_MEGA_VEGGI // :-)
  25. #endif // defined(SPIRIT_VERSION_HPP)