/Src/Dependencies/Boost/boost/spirit/home/support/limits.hpp

http://hadesmem.googlecode.com/ · C++ Header · 35 lines · 22 code · 9 blank · 4 comment · 0 complexity · ef093297c416f456533c3f63c691f0a5 MD5 · raw file

  1. // Copyright (c) 2001-2011 Hartmut Kaiser
  2. //
  3. // Distributed under the Boost Software License, Version 1.0. (See accompanying
  4. // file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
  5. #if !defined(BOOST_SPIRIT_SUPPORT_LIMITS_MAR_26_2011_0833PM)
  6. #define BOOST_SPIRIT_SUPPORT_LIMITS_MAR_26_2011_0833PM
  7. #if defined(_MSC_VER)
  8. #pragma once
  9. #endif
  10. #include <boost/spirit/include/phoenix_core.hpp>
  11. #ifndef BOOST_SPIRIT_USE_PHOENIX_V3
  12. #if !defined(SPIRIT_ARGUMENTS_LIMIT)
  13. # define SPIRIT_ARGUMENTS_LIMIT PHOENIX_LIMIT
  14. #endif
  15. #if !defined(SPIRIT_ATTRIBUTES_LIMIT)
  16. # define SPIRIT_ATTRIBUTES_LIMIT PHOENIX_LIMIT
  17. #endif
  18. #else
  19. #if !defined(SPIRIT_ARGUMENTS_LIMIT)
  20. # define SPIRIT_ARGUMENTS_LIMIT BOOST_PHOENIX_LIMIT
  21. #endif
  22. #if !defined(SPIRIT_ATTRIBUTES_LIMIT)
  23. # define SPIRIT_ATTRIBUTES_LIMIT BOOST_PHOENIX_LIMIT
  24. #endif
  25. #endif
  26. #endif