1 | /* |
2 | Copyright Rene Rivera 2011-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_VMS_H |
9 | #define BOOST_PREDEF_OS_VMS_H |
10 | |
11 | #include <boost/predef/version_number.h> |
12 | #include <boost/predef/make.h> |
13 | |
14 | /* tag::reference[] |
15 | = `BOOST_OS_VMS` |
16 | |
17 | http://en.wikipedia.org/wiki/Vms[VMS] operating system. |
18 | |
19 | [options="header"] |
20 | |=== |
21 | | {predef_symbol} | {predef_version} |
22 | |
23 | | `VMS` | {predef_detection} |
24 | | `+__VMS+` | {predef_detection} |
25 | |
26 | | `+__VMS_VER+` | V.R.P |
27 | |=== |
28 | */ // end::reference[] |
29 | |
30 | #define BOOST_OS_VMS BOOST_VERSION_NUMBER_NOT_AVAILABLE |
31 | |
32 | #if !defined(BOOST_PREDEF_DETAIL_OS_DETECTED) && ( \ |
33 | defined(VMS) || defined(__VMS) \ |
34 | ) |
35 | # undef BOOST_OS_VMS |
36 | # if defined(__VMS_VER) |
37 | # define BOOST_OS_VMS BOOST_PREDEF_MAKE_10_VVRR00PP00(__VMS_VER) |
38 | # else |
39 | # define BOOST_OS_VMS BOOST_VERSION_NUMBER_AVAILABLE |
40 | # endif |
41 | #endif |
42 | |
43 | #if BOOST_OS_VMS |
44 | # define BOOST_OS_VMS_AVAILABLE |
45 | # include <boost/predef/detail/os_detected.h> |
46 | #endif |
47 | |
48 | #define BOOST_OS_VMS_NAME "VMS" |
49 | |
50 | #endif |
51 | |
52 | #include <boost/predef/detail/test.h> |
53 | BOOST_PREDEF_DECLARE_TEST(BOOST_OS_VMS,BOOST_OS_VMS_NAME) |
54 | |