• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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 
8 #include <boost/predef/architecture/x86/32.h>
9 #include <boost/predef/architecture/x86/64.h>
10 
11 #ifndef BOOST_PREDEF_ARCHITECTURE_X86_H
12 #define BOOST_PREDEF_ARCHITECTURE_X86_H
13 
14 /* tag::reference[]
15 = `BOOST_ARCH_X86`
16 
17 http://en.wikipedia.org/wiki/X86[Intel x86] architecture. This is
18 a category to indicate that either `BOOST_ARCH_X86_32` or
19 `BOOST_ARCH_X86_64` is detected.
20 */ // end::reference[]
21 
22 #define BOOST_ARCH_X86 BOOST_VERSION_NUMBER_NOT_AVAILABLE
23 
24 #if BOOST_ARCH_X86_32 || BOOST_ARCH_X86_64
25 #   undef BOOST_ARCH_X86
26 #   define BOOST_ARCH_X86 BOOST_VERSION_NUMBER_AVAILABLE
27 #endif
28 
29 #if BOOST_ARCH_X86
30 #   define BOOST_ARCH_X86_AVAILABLE
31 #endif
32 
33 #define BOOST_ARCH_X86_NAME "Intel x86"
34 
35 #endif
36 
37 #include <boost/predef/detail/test.h>
38 BOOST_PREDEF_DECLARE_TEST(BOOST_ARCH_X86,BOOST_ARCH_X86_NAME)
39