]>
Commit | Line | Data |
---|---|---|
7c673cae FG |
1 | /* |
2 | Copyright Rene Rivera 2013-2015 | |
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_BLACKFIN_H | |
9 | #define BOOST_PREDEF_ARCHITECTURE_BLACKFIN_H | |
10 | ||
11 | #include <boost/predef/version_number.h> | |
12 | #include <boost/predef/make.h> | |
13 | ||
14 | /*` | |
15 | [heading `BOOST_ARCH_BLACKFIN`] | |
16 | ||
17 | Blackfin Processors from Analog Devices. | |
18 | ||
19 | [table | |
20 | [[__predef_symbol__] [__predef_version__]] | |
21 | ||
22 | [[`__bfin__`] [__predef_detection__]] | |
23 | [[`__BFIN__`] [__predef_detection__]] | |
24 | [[`bfin`] [__predef_detection__]] | |
25 | [[`BFIN`] [__predef_detection__]] | |
26 | ] | |
27 | */ | |
28 | ||
29 | #define BOOST_ARCH_BLACKFIN BOOST_VERSION_NUMBER_NOT_AVAILABLE | |
30 | ||
31 | #if defined(__bfin__) || defined(__BFIN__) || \ | |
32 | defined(bfin) || defined(BFIN) | |
33 | # undef BOOST_ARCH_BLACKFIN | |
34 | # define BOOST_ARCH_BLACKFIN BOOST_VERSION_NUMBER_AVAILABLE | |
35 | #endif | |
36 | ||
37 | #if BOOST_ARCH_BLACKFIN | |
38 | # define BOOST_ARCH_BLACKFIN_AVAILABLE | |
39 | #endif | |
40 | ||
41 | #define BOOST_ARCH_BLACKFIN_NAME "Blackfin" | |
42 | ||
43 | #endif | |
44 | ||
45 | #include <boost/predef/detail/test.h> | |
46 | BOOST_PREDEF_DECLARE_TEST(BOOST_ARCH_BLACKFIN,BOOST_ARCH_BLACKFIN_NAME) |