x86.h 972 B

1234567891011121314151617181920212223242526272829303132333435363738
  1. /*
  2. Copyright Redshift Software, Inc. 2008-2013
  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_X86_H
  8. #define BOOST_PREDEF_ARCHITECTURE_X86_H
  9. #include <boost/predef/architecture/x86/32.h>
  10. #include <boost/predef/architecture/x86/64.h>
  11. /*`
  12. [heading `BOOST_ARCH_X86`]
  13. [@http://en.wikipedia.org/wiki/X86 Intel x86] architecture. This is
  14. a category to indicate that either `BOOST_ARCH_X86_32` or
  15. `BOOST_ARCH_X86_64` is detected.
  16. */
  17. #define BOOST_ARCH_X86 BOOST_VERSION_NUMBER_NOT_AVAILABLE
  18. #if BOOST_ARCH_X86_32 || BOOST_ARCH_X86_64
  19. # undef BOOST_ARCH_X86
  20. # define BOOST_ARCH_X86 BOOST_VERSION_NUMBER_AVAILABLE
  21. #endif
  22. #if BOOST_ARCH_X86
  23. # define BOOST_ARCH_X86_AVAILABLE
  24. #endif
  25. #define BOOST_ARCH_X86_NAME "Intel x86"
  26. #include <boost/predef/detail/test.h>
  27. BOOST_PREDEF_DECLARE_TEST(BOOST_ARCH_X86,BOOST_ARCH_X86_NAME)
  28. #endif