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_LIBRARY_C_VMS_H |
9 | #define BOOST_PREDEF_LIBRARY_C_VMS_H |
10 | |
11 | #include <boost/predef/library/c/_prefix.h> |
12 | |
13 | #include <boost/predef/version_number.h> |
14 | #include <boost/predef/make.h> |
15 | |
16 | /* tag::reference[] |
17 | = `BOOST_LIB_C_VMS` |
18 | |
19 | VMS libc Standard C library. |
20 | Version number available as major, minor, and patch. |
21 | |
22 | [options="header"] |
23 | |=== |
24 | | {predef_symbol} | {predef_version} |
25 | |
26 | | `+__CRTL_VER+` | {predef_detection} |
27 | |
28 | | `+__CRTL_VER+` | V.R.P |
29 | |=== |
30 | */ // end::reference[] |
31 | |
32 | #define BOOST_LIB_C_VMS BOOST_VERSION_NUMBER_NOT_AVAILABLE |
33 | |
34 | #if defined(__CRTL_VER) |
35 | # undef BOOST_LIB_C_VMS |
36 | # define BOOST_LIB_C_VMS BOOST_PREDEF_MAKE_10_VVRR0PP00(__CRTL_VER) |
37 | #endif |
38 | |
39 | #if BOOST_LIB_C_VMS |
40 | # define BOOST_LIB_C_VMS_AVAILABLE |
41 | #endif |
42 | |
43 | #define BOOST_LIB_C_VMS_NAME "VMS" |
44 | |
45 | #endif |
46 | |
47 | #include <boost/predef/detail/test.h> |
48 | BOOST_PREDEF_DECLARE_TEST(BOOST_LIB_C_VMS,BOOST_LIB_C_VMS_NAME) |
49 | |