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 | /*` |
17 | [heading `BOOST_LIB_C_VMS`] |
18 | |
19 | VMS libc Standard C library. |
20 | Version number available as major, minor, and patch. |
21 | |
22 | [table |
23 | [[__predef_symbol__] [__predef_version__]] |
24 | |
25 | [[`__CRTL_VER`] [__predef_detection__]] |
26 | |
27 | [[`__CRTL_VER`] [V.R.P]] |
28 | ] |
29 | */ |
30 | |
31 | #define BOOST_LIB_C_VMS BOOST_VERSION_NUMBER_NOT_AVAILABLE |
32 | |
33 | #if defined(__CRTL_VER) |
34 | # undef BOOST_LIB_C_VMS |
35 | # define BOOST_LIB_C_VMS BOOST_PREDEF_MAKE_10_VVRR0PP00(__CRTL_VER) |
36 | #endif |
37 | |
38 | #if BOOST_LIB_C_VMS |
39 | # define BOOST_LIB_C_VMS_AVAILABLE |
40 | #endif |
41 | |
42 | #define BOOST_LIB_C_VMS_NAME "VMS" |
43 | |
44 | #endif |
45 | |
46 | #include <boost/predef/detail/test.h> |
47 | BOOST_PREDEF_DECLARE_TEST(BOOST_LIB_C_VMS,BOOST_LIB_C_VMS_NAME) |
48 | |