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_STD_ROGUEWAVE_H
9 #define BOOST_PREDEF_LIBRARY_STD_ROGUEWAVE_H
10 
11 #include <boost/predef/library/std/_prefix.h>
12 
13 #include <boost/predef/version_number.h>
14 #include <boost/predef/make.h>
15 
16 /* tag::reference[]
17 = `BOOST_LIB_STD_RW`
18 
19 http://stdcxx.apache.org/[Roguewave] Standard {CPP} library.
20 If available version number as major, minor, and patch.
21 
22 [options="header"]
23 |===
24 | {predef_symbol} | {predef_version}
25 
26 | `+__STD_RWCOMPILER_H__+` | {predef_detection}
27 | `+_RWSTD_VER+` | {predef_detection}
28 
29 | `+_RWSTD_VER+` | V.R.P
30 |===
31 */ // end::reference[]
32 
33 #define BOOST_LIB_STD_RW BOOST_VERSION_NUMBER_NOT_AVAILABLE
34 
35 #if defined(__STD_RWCOMPILER_H__) || defined(_RWSTD_VER)
36 #   undef BOOST_LIB_STD_RW
37 #   if defined(_RWSTD_VER)
38 #       if _RWSTD_VER < 0x010000
39 #           define BOOST_LIB_STD_RW BOOST_PREDEF_MAKE_0X_VVRRP(_RWSTD_VER)
40 #       else
41 #           define BOOST_LIB_STD_RW BOOST_PREDEF_MAKE_0X_VVRRPP(_RWSTD_VER)
42 #       endif
43 #   else
44 #       define BOOST_LIB_STD_RW BOOST_VERSION_NUMBER_AVAILABLE
45 #   endif
46 #endif
47 
48 #if BOOST_LIB_STD_RW
49 #   define BOOST_LIB_STD_RW_AVAILABLE
50 #endif
51 
52 #define BOOST_LIB_STD_RW_NAME "Roguewave"
53 
54 #endif
55 
56 #include <boost/predef/detail/test.h>
57 BOOST_PREDEF_DECLARE_TEST(BOOST_LIB_STD_RW,BOOST_LIB_STD_RW_NAME)
58