pyramid.h 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. /*
  2. Copyright Rene Rivera 2011-2015
  3. Distributed under the Boost Software License, Version 1.0.
  4. (See accompanying file LICENSE_1_0.txt or copy at
  5. http://www.boost.org/LICENSE_1_0.txt)
  6. */
  7. #ifndef BOOST_PREDEF_ARCHITECTURE_PYRAMID_H
  8. #define BOOST_PREDEF_ARCHITECTURE_PYRAMID_H
  9. #include <boost/predef/version_number.h>
  10. #include <boost/predef/make.h>
  11. /* tag::reference[]
  12. = `BOOST_ARCH_PYRAMID`
  13. Pyramid 9810 architecture.
  14. [options="header"]
  15. |===
  16. | {predef_symbol} | {predef_version}
  17. | `pyr` | {predef_detection}
  18. |===
  19. */ // end::reference[]
  20. #define BOOST_ARCH_PYRAMID BOOST_VERSION_NUMBER_NOT_AVAILABLE
  21. #if defined(pyr)
  22. # undef BOOST_ARCH_PYRAMID
  23. # define BOOST_ARCH_PYRAMID BOOST_VERSION_NUMBER_AVAILABLE
  24. #endif
  25. #if BOOST_ARCH_PYRAMID
  26. # define BOOST_ARCH_PYRAMID_AVAILABLE
  27. #endif
  28. #if BOOST_ARCH_PYRAMID
  29. # undef BOOST_ARCH_WORD_BITS_32
  30. # define BOOST_ARCH_WORD_BITS_32 BOOST_VERSION_NUMBER_AVAILABLE
  31. #endif
  32. #define BOOST_ARCH_PYRAMID_NAME "Pyramid 9810"
  33. #endif
  34. #include <boost/predef/detail/test.h>
  35. BOOST_PREDEF_DECLARE_TEST(BOOST_ARCH_PYRAMID,BOOST_ARCH_PYRAMID_NAME)