1 | /* |
2 | Copyright Rene Rivera 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_OS_SOLARIS_H |
9 | #define BOOST_PREDEF_OS_SOLARIS_H |
10 | |
11 | #include <boost/predef/version_number.h> |
12 | #include <boost/predef/make.h> |
13 | |
14 | /*` |
15 | [heading `BOOST_OS_SOLARIS`] |
16 | |
17 | [@http://en.wikipedia.org/wiki/Solaris_Operating_Environment Solaris] operating system. |
18 | |
19 | [table |
20 | [[__predef_symbol__] [__predef_version__]] |
21 | |
22 | [[`sun`] [__predef_detection__]] |
23 | [[`__sun`] [__predef_detection__]] |
24 | ] |
25 | */ |
26 | |
27 | #define BOOST_OS_SOLARIS BOOST_VERSION_NUMBER_NOT_AVAILABLE |
28 | |
29 | #if !defined(BOOST_PREDEF_DETAIL_OS_DETECTED) && ( \ |
30 | defined(sun) || defined(__sun) \ |
31 | ) |
32 | # undef BOOST_OS_SOLARIS |
33 | # define BOOST_OS_SOLARIS BOOST_VERSION_NUMBER_AVAILABLE |
34 | #endif |
35 | |
36 | #if BOOST_OS_SOLARIS |
37 | # define BOOST_OS_SOLARIS_AVAILABLE |
38 | # include <boost/predef/detail/os_detected.h> |
39 | #endif |
40 | |
41 | #define BOOST_OS_SOLARIS_NAME "Solaris" |
42 | |
43 | #include <boost/predef/detail/test.h> |
44 | BOOST_PREDEF_DECLARE_TEST(BOOST_OS_SOLARIS,BOOST_OS_SOLARIS_NAME) |
45 | |
46 | |
47 | #endif |
48 | |