]>
Commit | Line | Data |
---|---|---|
7c673cae FG |
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_STLPORT_H | |
9 | #define BOOST_PREDEF_LIBRARY_STD_STLPORT_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 | ||
f67539c2 TL |
16 | /* tag::reference[] |
17 | = `BOOST_LIB_STD_STLPORT` | |
7c673cae | 18 | |
f67539c2 | 19 | http://sourceforge.net/projects/stlport/[STLport Standard {CPP}] library. |
7c673cae FG |
20 | Version number available as major, minor, and patch. |
21 | ||
f67539c2 TL |
22 | [options="header"] |
23 | |=== | |
24 | | {predef_symbol} | {predef_version} | |
7c673cae | 25 | |
f67539c2 TL |
26 | | `+__SGI_STL_PORT+` | {predef_detection} |
27 | | `+_STLPORT_VERSION+` | {predef_detection} | |
7c673cae | 28 | |
f67539c2 TL |
29 | | `+_STLPORT_MAJOR+`, `+_STLPORT_MINOR+`, `+_STLPORT_PATCHLEVEL+` | V.R.P |
30 | | `+_STLPORT_VERSION+` | V.R.P | |
31 | | `+__SGI_STL_PORT+` | V.R.P | |
32 | |=== | |
33 | */ // end::reference[] | |
7c673cae FG |
34 | |
35 | #define BOOST_LIB_STD_STLPORT BOOST_VERSION_NUMBER_NOT_AVAILABLE | |
36 | ||
37 | #if defined(__SGI_STL_PORT) || defined(_STLPORT_VERSION) | |
38 | # undef BOOST_LIB_STD_STLPORT | |
39 | # if !defined(BOOST_LIB_STD_STLPORT) && defined(_STLPORT_MAJOR) | |
40 | # define BOOST_LIB_STD_STLPORT \ | |
41 | BOOST_VERSION_NUMBER(_STLPORT_MAJOR,_STLPORT_MINOR,_STLPORT_PATCHLEVEL) | |
42 | # endif | |
43 | # if !defined(BOOST_LIB_STD_STLPORT) && defined(_STLPORT_VERSION) | |
44 | # define BOOST_LIB_STD_STLPORT BOOST_PREDEF_MAKE_0X_VRP(_STLPORT_VERSION) | |
45 | # endif | |
46 | # if !defined(BOOST_LIB_STD_STLPORT) | |
47 | # define BOOST_LIB_STD_STLPORT BOOST_PREDEF_MAKE_0X_VRP(__SGI_STL_PORT) | |
48 | # endif | |
49 | #endif | |
50 | ||
51 | #if BOOST_LIB_STD_STLPORT | |
52 | # define BOOST_LIB_STD_STLPORT_AVAILABLE | |
53 | #endif | |
54 | ||
55 | #define BOOST_LIB_STD_STLPORT_NAME "STLport" | |
56 | ||
57 | #endif | |
58 | ||
59 | #include <boost/predef/detail/test.h> | |
60 | BOOST_PREDEF_DECLARE_TEST(BOOST_LIB_STD_STLPORT,BOOST_LIB_STD_STLPORT_NAME) |