1 | /* |
2 | Copyright Rene Rivera 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 | |
8 | #ifndef BOOST_PREDEF_ARCHITECTURE_X86_64_H |
9 | #define BOOST_PREDEF_ARCHITECTURE_X86_64_H |
10 | |
11 | #include <boost/predef/version_number.h> |
12 | #include <boost/predef/make.h> |
13 | |
14 | /*` |
15 | [heading `BOOST_ARCH_X86_64`] |
16 | |
17 | [@http://en.wikipedia.org/wiki/Ia64 Intel IA-64] architecture. |
18 | |
19 | [table |
20 | [[__predef_symbol__] [__predef_version__]] |
21 | |
22 | [[`__x86_64`] [__predef_detection__]] |
23 | [[`__x86_64__`] [__predef_detection__]] |
24 | [[`__amd64__`] [__predef_detection__]] |
25 | [[`__amd64`] [__predef_detection__]] |
26 | [[`_M_X64`] [__predef_detection__]] |
27 | ] |
28 | */ |
29 | |
30 | #define BOOST_ARCH_X86_64 BOOST_VERSION_NUMBER_NOT_AVAILABLE |
31 | |
32 | #if defined(__x86_64) || defined(__x86_64__) || \ |
33 | defined(__amd64__) || defined(__amd64) || \ |
34 | defined(_M_X64) |
35 | # undef BOOST_ARCH_X86_64 |
36 | # define BOOST_ARCH_X86_64 BOOST_VERSION_NUMBER_AVAILABLE |
37 | #endif |
38 | |
39 | #if BOOST_ARCH_X86_64 |
40 | # define BOOST_ARCH_X86_64_AVAILABLE |
41 | #endif |
42 | |
43 | #define BOOST_ARCH_X86_64_NAME "Intel x86-64" |
44 | |
45 | #include <boost/predef/detail/test.h> |
46 | BOOST_PREDEF_DECLARE_TEST(BOOST_ARCH_X86_64,BOOST_ARCH_X86_64_NAME) |
47 | |
48 | #include <boost/predef/architecture/x86.h> |
49 | |
50 | #endif |
51 | |