| 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_SGI_H |
| 9 | #define BOOST_PREDEF_LIBRARY_STD_SGI_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_SGI` |
| 18 | |
| 19 | http://www.sgi.com/tech/stl/[SGI] 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 | | `+__STL_CONFIG_H+` | {predef_detection} |
| 27 | |
| 28 | | `+__SGI_STL+` | V.R.P |
| 29 | |=== |
| 30 | */ // end::reference[] |
| 31 | |
| 32 | #define BOOST_LIB_STD_SGI BOOST_VERSION_NUMBER_NOT_AVAILABLE |
| 33 | |
| 34 | #if defined(__STL_CONFIG_H) |
| 35 | # undef BOOST_LIB_STD_SGI |
| 36 | # if defined(__SGI_STL) |
| 37 | # define BOOST_LIB_STD_SGI BOOST_PREDEF_MAKE_0X_VRP(__SGI_STL) |
| 38 | # else |
| 39 | # define BOOST_LIB_STD_SGI BOOST_VERSION_NUMBER_AVAILABLE |
| 40 | # endif |
| 41 | #endif |
| 42 | |
| 43 | #if BOOST_LIB_STD_SGI |
| 44 | # define BOOST_LIB_STD_SGI_AVAILABLE |
| 45 | #endif |
| 46 | |
| 47 | #define BOOST_LIB_STD_SGI_NAME "SGI" |
| 48 | |
| 49 | #endif |
| 50 | |
| 51 | #include <boost/predef/detail/test.h> |
| 52 | BOOST_PREDEF_DECLARE_TEST(BOOST_LIB_STD_SGI,BOOST_LIB_STD_SGI_NAME) |
| 53 | |