1/*
2Copyright Rene Rivera 2008-2015
3Distributed under the Boost Software License, Version 1.0.
4(See accompanying file LICENSE_1_0.txt or copy at
5http://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/* tag::reference[]
15= `BOOST_OS_HPUX`
16
17http://en.wikipedia.org/wiki/HP-UX[HP-UX] operating system.
18
19[options="header"]
20|===
21| {predef_symbol} | {predef_version}
22
23| `hpux` | {predef_detection}
24| `+_hpux+` | {predef_detection}
25| `+__hpux+` | {predef_detection}
26|===
27*/ // end::reference[]
28
29#define BOOST_OS_HPUX BOOST_VERSION_NUMBER_NOT_AVAILABLE
30
31#if !defined(BOOST_PREDEF_DETAIL_OS_DETECTED) && ( \
32 defined(hpux) || defined(_hpux) || defined(__hpux) \
33 )
34# undef BOOST_OS_HPUX
35# define BOOST_OS_HPUX BOOST_VERSION_NUMBER_AVAILABLE
36#endif
37
38#if BOOST_OS_HPUX
39# define BOOST_OS_HPUX_AVAILABLE
40# include <boost/predef/detail/os_detected.h>
41#endif
42
43#define BOOST_OS_HPUX_NAME "HP-UX"
44
45#endif
46
47#include <boost/predef/detail/test.h>
48BOOST_PREDEF_DECLARE_TEST(BOOST_OS_HPUX,BOOST_OS_HPUX_NAME)
49

source code of include/boost/predef/os/hpux.h