]> git.proxmox.com Git - ceph.git/blob - ceph/src/boost/boost/predef/architecture/blackfin.h
update ceph source to reef 18.1.2
[ceph.git] / ceph / src / boost / boost / predef / architecture / blackfin.h
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 /* tag::reference[]
15 = `BOOST_ARCH_BLACKFIN`
16
17 Blackfin Processors from Analog Devices.
18
19 [options="header"]
20 |===
21 | {predef_symbol} | {predef_version}
22
23 | `+__bfin__+` | {predef_detection}
24 | `+__BFIN__+` | {predef_detection}
25 | `bfin` | {predef_detection}
26 | `BFIN` | {predef_detection}
27 |===
28 */ // end::reference[]
29
30 #define BOOST_ARCH_BLACKFIN BOOST_VERSION_NUMBER_NOT_AVAILABLE
31
32 #if defined(__bfin__) || defined(__BFIN__) || \
33 defined(bfin) || defined(BFIN)
34 # undef BOOST_ARCH_BLACKFIN
35 # define BOOST_ARCH_BLACKFIN BOOST_VERSION_NUMBER_AVAILABLE
36 #endif
37
38 #if BOOST_ARCH_BLACKFIN
39 # define BOOST_ARCH_BLACKFIN_AVAILABLE
40 #endif
41
42 #if BOOST_ARCH_BLACKFIN
43 # undef BOOST_ARCH_WORD_BITS_16
44 # define BOOST_ARCH_WORD_BITS_16 BOOST_VERSION_NUMBER_AVAILABLE
45 #endif
46
47 #define BOOST_ARCH_BLACKFIN_NAME "Blackfin"
48
49 #endif
50
51 #include <boost/predef/detail/test.h>
52 BOOST_PREDEF_DECLARE_TEST(BOOST_ARCH_BLACKFIN,BOOST_ARCH_BLACKFIN_NAME)