| 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 | /*` | 
| 15 | [heading `BOOST_OS_VMS`] | 
| 16 |  | 
| 17 | [@http://en.wikipedia.org/wiki/Vms VMS] operating system. | 
| 18 |  | 
| 19 | [table | 
| 20 |     [[__predef_symbol__] [__predef_version__]] | 
| 21 |  | 
| 22 |     [[`VMS`] [__predef_detection__]] | 
| 23 |     [[`__VMS`] [__predef_detection__]] | 
| 24 |  | 
| 25 |     [[`__VMS_VER`] [V.R.P]] | 
| 26 |     ] | 
| 27 |  */ | 
| 28 |  | 
| 29 | #define BOOST_OS_VMS BOOST_VERSION_NUMBER_NOT_AVAILABLE | 
| 30 |  | 
| 31 | #if !defined(BOOST_PREDEF_DETAIL_OS_DETECTED) && ( \ | 
| 32 |     defined(VMS) || defined(__VMS) \ | 
| 33 |     ) | 
| 34 | #   undef BOOST_OS_VMS | 
| 35 | #   if defined(__VMS_VER) | 
| 36 | #       define BOOST_OS_VMS BOOST_PREDEF_MAKE_10_VVRR00PP00(__VMS_VER) | 
| 37 | #   else | 
| 38 | #       define BOOST_OS_VMS BOOST_VERSION_NUMBER_AVAILABLE | 
| 39 | #   endif | 
| 40 | #endif | 
| 41 |  | 
| 42 | #if BOOST_OS_VMS | 
| 43 | #   define BOOST_OS_VMS_AVAILABLE | 
| 44 | #   include <boost/predef/detail/os_detected.h> | 
| 45 | #endif | 
| 46 |  | 
| 47 | #define BOOST_OS_VMS_NAME "VMS" | 
| 48 |  | 
| 49 | #endif | 
| 50 |  | 
| 51 | #include <boost/predef/detail/test.h> | 
| 52 | BOOST_PREDEF_DECLARE_TEST(BOOST_OS_VMS,BOOST_OS_VMS_NAME) | 
| 53 |  |