| 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 | |
| 16 | /*` |
| 17 | [heading `BOOST_LIB_STD_STLPORT`] |
| 18 | |
| 19 | [@http://sourceforge.net/projects/stlport/ STLport Standard C++] library. |
| 20 | Version number available as major, minor, and patch. |
| 21 | |
| 22 | [table |
| 23 | [[__predef_symbol__] [__predef_version__]] |
| 24 | |
| 25 | [[`__SGI_STL_PORT`] [__predef_detection__]] |
| 26 | [[`_STLPORT_VERSION`] [__predef_detection__]] |
| 27 | |
| 28 | [[`_STLPORT_MAJOR`, `_STLPORT_MINOR`, `_STLPORT_PATCHLEVEL`] [V.R.P]] |
| 29 | [[`_STLPORT_VERSION`] [V.R.P]] |
| 30 | [[`__SGI_STL_PORT`] [V.R.P]] |
| 31 | ] |
| 32 | */ |
| 33 | |
| 34 | #define BOOST_LIB_STD_STLPORT BOOST_VERSION_NUMBER_NOT_AVAILABLE |
| 35 | |
| 36 | #if defined(__SGI_STL_PORT) || defined(_STLPORT_VERSION) |
| 37 | # undef BOOST_LIB_STD_STLPORT |
| 38 | # if !defined(BOOST_LIB_STD_STLPORT) && defined(_STLPORT_MAJOR) |
| 39 | # define BOOST_LIB_STD_STLPORT \ |
| 40 | BOOST_VERSION_NUMBER(_STLPORT_MAJOR,_STLPORT_MINOR,_STLPORT_PATCHLEVEL) |
| 41 | # endif |
| 42 | # if !defined(BOOST_LIB_STD_STLPORT) && defined(_STLPORT_VERSION) |
| 43 | # define BOOST_LIB_STD_STLPORT BOOST_PREDEF_MAKE_0X_VRP(_STLPORT_VERSION) |
| 44 | # endif |
| 45 | # if !defined(BOOST_LIB_STD_STLPORT) |
| 46 | # define BOOST_LIB_STD_STLPORT BOOST_PREDEF_MAKE_0X_VRP(__SGI_STL_PORT) |
| 47 | # endif |
| 48 | #endif |
| 49 | |
| 50 | #if BOOST_LIB_STD_STLPORT |
| 51 | # define BOOST_LIB_STD_STLPORT_AVAILABLE |
| 52 | #endif |
| 53 | |
| 54 | #define BOOST_LIB_STD_STLPORT_NAME "STLport" |
| 55 | |
| 56 | #endif |
| 57 | |
| 58 | #include <boost/predef/detail/test.h> |
| 59 | BOOST_PREDEF_DECLARE_TEST(BOOST_LIB_STD_STLPORT,BOOST_LIB_STD_STLPORT_NAME) |
| 60 | |