Chris@16
|
1 /*
|
Chris@101
|
2 Copyright Rene Rivera 2011-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_CONVEX_H
|
Chris@16
|
9 #define BOOST_PREDEF_ARCHITECTURE_CONVEX_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_CONVEX`]
|
Chris@16
|
16
|
Chris@16
|
17 [@http://en.wikipedia.org/wiki/Convex_Computer Convex Computer] architecture.
|
Chris@16
|
18
|
Chris@16
|
19 [table
|
Chris@16
|
20 [[__predef_symbol__] [__predef_version__]]
|
Chris@16
|
21
|
Chris@16
|
22 [[`__convex__`] [__predef_detection__]]
|
Chris@16
|
23
|
Chris@16
|
24 [[`__convex_c1__`] [1.0.0]]
|
Chris@16
|
25 [[`__convex_c2__`] [2.0.0]]
|
Chris@16
|
26 [[`__convex_c32__`] [3.2.0]]
|
Chris@16
|
27 [[`__convex_c34__`] [3.4.0]]
|
Chris@16
|
28 [[`__convex_c38__`] [3.8.0]]
|
Chris@16
|
29 ]
|
Chris@16
|
30 */
|
Chris@16
|
31
|
Chris@16
|
32 #define BOOST_ARCH_CONVEX BOOST_VERSION_NUMBER_NOT_AVAILABLE
|
Chris@16
|
33
|
Chris@16
|
34 #if defined(__convex__)
|
Chris@16
|
35 # undef BOOST_ARCH_CONVEX
|
Chris@16
|
36 # if !defined(BOOST_ARCH_CONVEX) && defined(__convex_c1__)
|
Chris@16
|
37 # define BOOST_ARCH_CONVEX BOOST_VERSION_NUMBER(1,0,0)
|
Chris@16
|
38 # endif
|
Chris@16
|
39 # if !defined(BOOST_ARCH_CONVEX) && defined(__convex_c2__)
|
Chris@16
|
40 # define BOOST_ARCH_CONVEX BOOST_VERSION_NUMBER(2,0,0)
|
Chris@16
|
41 # endif
|
Chris@16
|
42 # if !defined(BOOST_ARCH_CONVEX) && defined(__convex_c32__)
|
Chris@16
|
43 # define BOOST_ARCH_CONVEX BOOST_VERSION_NUMBER(3,2,0)
|
Chris@16
|
44 # endif
|
Chris@16
|
45 # if !defined(BOOST_ARCH_CONVEX) && defined(__convex_c34__)
|
Chris@16
|
46 # define BOOST_ARCH_CONVEX BOOST_VERSION_NUMBER(3,4,0)
|
Chris@16
|
47 # endif
|
Chris@16
|
48 # if !defined(BOOST_ARCH_CONVEX) && defined(__convex_c38__)
|
Chris@16
|
49 # define BOOST_ARCH_CONVEX BOOST_VERSION_NUMBER(3,8,0)
|
Chris@16
|
50 # endif
|
Chris@16
|
51 # if !defined(BOOST_ARCH_CONVEX)
|
Chris@16
|
52 # define BOOST_ARCH_CONVEX BOOST_VERSION_NUMBER_AVAILABLE
|
Chris@16
|
53 # endif
|
Chris@16
|
54 #endif
|
Chris@16
|
55
|
Chris@16
|
56 #if BOOST_ARCH_CONVEX
|
Chris@16
|
57 # define BOOST_ARCH_CONVEX_AVAILABLE
|
Chris@16
|
58 #endif
|
Chris@16
|
59
|
Chris@16
|
60 #define BOOST_ARCH_CONVEX_NAME "Convex Computer"
|
Chris@16
|
61
|
Chris@16
|
62 #include <boost/predef/detail/test.h>
|
Chris@16
|
63 BOOST_PREDEF_DECLARE_TEST(BOOST_ARCH_CONVEX,BOOST_ARCH_CONVEX_NAME)
|
Chris@16
|
64
|
Chris@16
|
65
|
Chris@16
|
66
|
Chris@16
|
67 #endif
|