Mercurial > hg > vamp-build-and-test
comparison DEPENDENCIES/generic/include/boost/predef/architecture/sparc.h @ 16:2665513ce2d3
Add boost headers
author | Chris Cannam |
---|---|
date | Tue, 05 Aug 2014 11:11:38 +0100 |
parents | |
children | c530137014c0 |
comparison
equal
deleted
inserted
replaced
15:663ca0da4350 | 16:2665513ce2d3 |
---|---|
1 /* | |
2 Copyright Redshift Software, Inc. 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_SPARC_H | |
9 #define BOOST_PREDEF_ARCHITECTURE_SPARC_H | |
10 | |
11 #include <boost/predef/version_number.h> | |
12 #include <boost/predef/make.h> | |
13 | |
14 /*` | |
15 [heading `BOOST_ARCH_SPARC`] | |
16 | |
17 [@http://en.wikipedia.org/wiki/SPARC SPARC] architecture. | |
18 | |
19 [table | |
20 [[__predef_symbol__] [__predef_version__]] | |
21 | |
22 [[`__sparc__`] [__predef_detection__]] | |
23 [[`__sparc`] [__predef_detection__]] | |
24 | |
25 [[`__sparcv9`] [9.0.0]] | |
26 [[`__sparcv8`] [8.0.0]] | |
27 ] | |
28 */ | |
29 | |
30 #define BOOST_ARCH_SPARC BOOST_VERSION_NUMBER_NOT_AVAILABLE | |
31 | |
32 #if defined(__sparc__) || defined(__sparc) | |
33 # undef BOOST_ARCH_SPARC | |
34 # if !defined(BOOST_ARCH_SPARC) && defined(__sparcv9) | |
35 # define BOOST_ARCH_SPARC BOOST_VERSION_NUMBER(9,0,0) | |
36 # endif | |
37 # if !defined(BOOST_ARCH_SPARC) && defined(__sparcv8) | |
38 # define BOOST_ARCH_SPARC BOOST_VERSION_NUMBER(8,0,0) | |
39 # endif | |
40 # if !defined(BOOST_ARCH_SPARC) && | |
41 # define BOOST_ARCH_SPARC BOOST_VERSION_NUMBER_AVAILABLE | |
42 # endif | |
43 #endif | |
44 | |
45 #if BOOST_ARCH_SPARC | |
46 # define BOOST_ARCH_SPARC_AVAILABLE | |
47 #endif | |
48 | |
49 #define BOOST_ARCH_SPARC_NAME "SPARC" | |
50 | |
51 #include <boost/predef/detail/test.h> | |
52 BOOST_PREDEF_DECLARE_TEST(BOOST_ARCH_SPARC,BOOST_ARCH_SPARC_NAME) | |
53 | |
54 | |
55 #endif |