]>
Commit | Line | Data |
---|---|---|
7c673cae FG |
1 | /* |
2 | Copyright Rene Rivera 2008-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_OS_AMIGAOS_H | |
9 | #define BOOST_PREDEF_OS_AMIGAOS_H | |
10 | ||
11 | #include <boost/predef/version_number.h> | |
12 | #include <boost/predef/make.h> | |
13 | ||
f67539c2 TL |
14 | /* tag::reference[] |
15 | = `BOOST_OS_AMIGAOS` | |
7c673cae | 16 | |
f67539c2 | 17 | http://en.wikipedia.org/wiki/AmigaOS[AmigaOS] operating system. |
7c673cae | 18 | |
f67539c2 TL |
19 | [options="header"] |
20 | |=== | |
21 | | {predef_symbol} | {predef_version} | |
7c673cae | 22 | |
f67539c2 TL |
23 | | `AMIGA` | {predef_detection} |
24 | | `+__amigaos__+` | {predef_detection} | |
25 | |=== | |
26 | */ // end::reference[] | |
7c673cae FG |
27 | |
28 | #define BOOST_OS_AMIGAOS BOOST_VERSION_NUMBER_NOT_AVAILABLE | |
29 | ||
30 | #if !defined(BOOST_PREDEF_DETAIL_OS_DETECTED) && ( \ | |
31 | defined(AMIGA) || defined(__amigaos__) \ | |
32 | ) | |
33 | # undef BOOST_OS_AMIGAOS | |
34 | # define BOOST_OS_AMIGAOS BOOST_VERSION_NUMBER_AVAILABLE | |
35 | #endif | |
36 | ||
37 | #if BOOST_OS_AMIGAOS | |
38 | # define BOOST_OS_AMIGAOS_AVAILABLE | |
39 | # include <boost/predef/detail/os_detected.h> | |
40 | #endif | |
41 | ||
42 | #define BOOST_OS_AMIGAOS_NAME "AmigaOS" | |
43 | ||
44 | #endif | |
45 | ||
46 | #include <boost/predef/detail/test.h> | |
47 | BOOST_PREDEF_DECLARE_TEST(BOOST_OS_AMIGAOS,BOOST_OS_AMIGAOS_NAME) |