Chris@16
|
1 /*
|
Chris@101
|
2 Copyright Rene Rivera 2008-2013
|
Chris@16
|
3 Distributed under the Boost Software License, Version 1.0.
|
Chris@16
|
4 (See accompanying file LICENSE_1_0.txt or copy at
|
Chris@16
|
5 http://www.boost.org/LICENSE_1_0.txt)
|
Chris@16
|
6 */
|
Chris@16
|
7
|
Chris@16
|
8 #ifndef BOOST_PREDEF_ARCHITECTURE_X86_64_H
|
Chris@16
|
9 #define BOOST_PREDEF_ARCHITECTURE_X86_64_H
|
Chris@16
|
10
|
Chris@16
|
11 #include <boost/predef/version_number.h>
|
Chris@16
|
12 #include <boost/predef/make.h>
|
Chris@16
|
13
|
Chris@16
|
14 /*`
|
Chris@16
|
15 [heading `BOOST_ARCH_X86_64`]
|
Chris@16
|
16
|
Chris@16
|
17 [@http://en.wikipedia.org/wiki/Ia64 Intel IA-64] architecture.
|
Chris@16
|
18
|
Chris@16
|
19 [table
|
Chris@16
|
20 [[__predef_symbol__] [__predef_version__]]
|
Chris@16
|
21
|
Chris@16
|
22 [[`__x86_64`] [__predef_detection__]]
|
Chris@16
|
23 [[`__x86_64__`] [__predef_detection__]]
|
Chris@16
|
24 [[`__amd64__`] [__predef_detection__]]
|
Chris@16
|
25 [[`__amd64`] [__predef_detection__]]
|
Chris@16
|
26 [[`_M_X64`] [__predef_detection__]]
|
Chris@16
|
27 ]
|
Chris@16
|
28 */
|
Chris@16
|
29
|
Chris@16
|
30 #define BOOST_ARCH_X86_64 BOOST_VERSION_NUMBER_NOT_AVAILABLE
|
Chris@16
|
31
|
Chris@16
|
32 #if defined(__x86_64) || defined(__x86_64__) || \
|
Chris@16
|
33 defined(__amd64__) || defined(__amd64) || \
|
Chris@16
|
34 defined(_M_X64)
|
Chris@16
|
35 # undef BOOST_ARCH_X86_64
|
Chris@16
|
36 # define BOOST_ARCH_X86_64 BOOST_VERSION_NUMBER_AVAILABLE
|
Chris@16
|
37 #endif
|
Chris@16
|
38
|
Chris@16
|
39 #if BOOST_ARCH_X86_64
|
Chris@16
|
40 # define BOOST_ARCH_X86_64_AVAILABLE
|
Chris@16
|
41 #endif
|
Chris@16
|
42
|
Chris@16
|
43 #define BOOST_ARCH_X86_64_NAME "Intel x86-64"
|
Chris@16
|
44
|
Chris@16
|
45 #include <boost/predef/detail/test.h>
|
Chris@16
|
46 BOOST_PREDEF_DECLARE_TEST(BOOST_ARCH_X86_64,BOOST_ARCH_X86_64_NAME)
|
Chris@16
|
47
|
Chris@16
|
48 #include <boost/predef/architecture/x86.h>
|
Chris@16
|
49
|
Chris@16
|
50 #endif
|