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_RS6K_H
|
Chris@16
|
9 #define BOOST_PREDEF_ARCHITECTURE_RS6K_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_RS6000`]
|
Chris@16
|
16
|
Chris@16
|
17 [@http://en.wikipedia.org/wiki/RS/6000 RS/6000] architecture.
|
Chris@16
|
18
|
Chris@16
|
19 [table
|
Chris@16
|
20 [[__predef_symbol__] [__predef_version__]]
|
Chris@16
|
21
|
Chris@16
|
22 [[`__THW_RS6000`] [__predef_detection__]]
|
Chris@16
|
23 [[`_IBMR2`] [__predef_detection__]]
|
Chris@16
|
24 [[`_POWER`] [__predef_detection__]]
|
Chris@16
|
25 [[`_ARCH_PWR`] [__predef_detection__]]
|
Chris@16
|
26 [[`_ARCH_PWR2`] [__predef_detection__]]
|
Chris@16
|
27 ]
|
Chris@16
|
28 */
|
Chris@16
|
29
|
Chris@16
|
30 #define BOOST_ARCH_RS6000 BOOST_VERSION_NUMBER_NOT_AVAILABLE
|
Chris@16
|
31
|
Chris@16
|
32 #if defined(__THW_RS6000) || defined(_IBMR2) || \
|
Chris@16
|
33 defined(_POWER) || defined(_ARCH_PWR) || \
|
Chris@16
|
34 defined(_ARCH_PWR2)
|
Chris@16
|
35 # undef BOOST_ARCH_RS6000
|
Chris@16
|
36 # define BOOST_ARCH_RS6000 BOOST_VERSION_NUMBER_AVAILABLE
|
Chris@16
|
37 #endif
|
Chris@16
|
38
|
Chris@16
|
39 #if BOOST_ARCH_RS6000
|
Chris@16
|
40 # define BOOST_ARCH_RS6000_AVAILABLE
|
Chris@16
|
41 #endif
|
Chris@16
|
42
|
Chris@16
|
43 #define BOOST_ARCH_RS6000_NAME "RS/6000"
|
Chris@16
|
44
|
Chris@16
|
45 #include <boost/predef/detail/test.h>
|
Chris@16
|
46 BOOST_PREDEF_DECLARE_TEST(BOOST_ARCH_RS6000,BOOST_ARCH_RS6000_NAME)
|
Chris@16
|
47
|
Chris@16
|
48 #define BOOST_ARCH_PWR BOOST_ARCH_RS6000
|
Chris@16
|
49
|
Chris@16
|
50 #if BOOST_ARCH_PWR
|
Chris@16
|
51 # define BOOST_ARCH_PWR_AVAILABLE
|
Chris@16
|
52 #endif
|
Chris@16
|
53
|
Chris@16
|
54 #define BOOST_ARCH_PWR_NAME BOOST_ARCH_RS6000_NAME
|
Chris@16
|
55
|
Chris@16
|
56 #endif
|