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_HPUX_H |
9 | #define BOOST_PREDEF_OS_HPUX_H |
10 | |
11 | #include <boost/predef/version_number.h> |
12 | #include <boost/predef/make.h> |
13 | |
14 | /*` |
15 | [heading `BOOST_OS_HPUX`] |
16 | |
17 | [@http://en.wikipedia.org/wiki/HP-UX HP-UX] operating system. |
18 | |
19 | [table |
20 | [[__predef_symbol__] [__predef_version__]] |
21 | |
22 | [[`hpux`] [__predef_detection__]] |
23 | [[`_hpux`] [__predef_detection__]] |
24 | [[`__hpux`] [__predef_detection__]] |
25 | ] |
26 | */ |
27 | |
28 | #define BOOST_OS_HPUX BOOST_VERSION_NUMBER_NOT_AVAILABLE |
29 | |
30 | #if !defined(BOOST_PREDEF_DETAIL_OS_DETECTED) && ( \ |
31 | defined(hpux) || defined(_hpux) || defined(__hpux) \ |
32 | ) |
33 | # undef BOOST_OS_HPUX |
34 | # define BOOST_OS_HPUX BOOST_VERSION_NUMBER_AVAILABLE |
35 | #endif |
36 | |
37 | #if BOOST_OS_HPUX |
38 | # define BOOST_OS_HPUX_AVAILABLE |
39 | # include <boost/predef/detail/os_detected.h> |
40 | #endif |
41 | |
42 | #define BOOST_OS_HPUX_NAME "HP-UX" |
43 | |
44 | #endif |
45 | |
46 | #include <boost/predef/detail/test.h> |
47 | BOOST_PREDEF_DECLARE_TEST(BOOST_OS_HPUX,BOOST_OS_HPUX_NAME) |
48 | |