ia64.h 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. /*
  2. Copyright Rene Rivera 2008-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_IA64_H
  8. #define BOOST_PREDEF_ARCHITECTURE_IA64_H
  9. #include <boost/predef/version_number.h>
  10. #include <boost/predef/make.h>
  11. /* tag::reference[]
  12. = `BOOST_ARCH_IA64`
  13. http://en.wikipedia.org/wiki/Ia64[Intel Itanium 64] architecture.
  14. [options="header"]
  15. |===
  16. | {predef_symbol} | {predef_version}
  17. | `+__ia64__+` | {predef_detection}
  18. | `+_IA64+` | {predef_detection}
  19. | `+__IA64__+` | {predef_detection}
  20. | `+__ia64+` | {predef_detection}
  21. | `+_M_IA64+` | {predef_detection}
  22. | `+__itanium__+` | {predef_detection}
  23. |===
  24. */ // end::reference[]
  25. #define BOOST_ARCH_IA64 BOOST_VERSION_NUMBER_NOT_AVAILABLE
  26. #if defined(__ia64__) || defined(_IA64) || \
  27. defined(__IA64__) || defined(__ia64) || \
  28. defined(_M_IA64) || defined(__itanium__)
  29. # undef BOOST_ARCH_IA64
  30. # define BOOST_ARCH_IA64 BOOST_VERSION_NUMBER_AVAILABLE
  31. #endif
  32. #if BOOST_ARCH_IA64
  33. # define BOOST_ARCH_IA64_AVAILABLE
  34. #endif
  35. #if BOOST_ARCH_IA64
  36. # undef BOOST_ARCH_WORD_BITS_64
  37. # define BOOST_ARCH_WORD_BITS_64 BOOST_VERSION_NUMBER_AVAILABLE
  38. #endif
  39. #define BOOST_ARCH_IA64_NAME "Intel Itanium 64"
  40. #endif
  41. #include <boost/predef/detail/test.h>
  42. BOOST_PREDEF_DECLARE_TEST(BOOST_ARCH_IA64,BOOST_ARCH_IA64_NAME)