x86.h 961 B

1234567891011121314151617181920212223242526272829303132333435363738
  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. #include <asio2/bho/predef/architecture/x86/32.h>
  8. #include <asio2/bho/predef/architecture/x86/64.h>
  9. #ifndef BHO_PREDEF_ARCHITECTURE_X86_H
  10. #define BHO_PREDEF_ARCHITECTURE_X86_H
  11. /* tag::reference[]
  12. = `BHO_ARCH_X86`
  13. http://en.wikipedia.org/wiki/X86[Intel x86] architecture. This is
  14. a category to indicate that either `BHO_ARCH_X86_32` or
  15. `BHO_ARCH_X86_64` is detected.
  16. */ // end::reference[]
  17. #define BHO_ARCH_X86 BHO_VERSION_NUMBER_NOT_AVAILABLE
  18. #if BHO_ARCH_X86_32 || BHO_ARCH_X86_64
  19. # undef BHO_ARCH_X86
  20. # define BHO_ARCH_X86 BHO_VERSION_NUMBER_AVAILABLE
  21. #endif
  22. #if BHO_ARCH_X86
  23. # define BHO_ARCH_X86_AVAILABLE
  24. #endif
  25. #define BHO_ARCH_X86_NAME "Intel x86"
  26. #endif
  27. #include <asio2/bho/predef/detail/test.h>
  28. BHO_PREDEF_DECLARE_TEST(BHO_ARCH_X86,BHO_ARCH_X86_NAME)