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)
8 #ifndef BOOST_PREDEF_LIBRARY_STD_STLPORT_H
9 #define BOOST_PREDEF_LIBRARY_STD_STLPORT_H
11 #include <boost/predef/library/std/_prefix.h>
13 #include <boost/predef/version_number.h>
14 #include <boost/predef/make.h>
17 [heading `BOOST_LIB_STD_STLPORT`]
19 [@http://sourceforge.net/projects/stlport/ STLport Standard C++] library.
20 Version number available as major, minor, and patch.
23 [[__predef_symbol__] [__predef_version__]]
25 [[`__SGI_STL_PORT`] [__predef_detection__]]
26 [[`_STLPORT_VERSION`] [__predef_detection__]]
28 [[`_STLPORT_MAJOR`, `_STLPORT_MINOR`, `_STLPORT_PATCHLEVEL`] [V.R.P]]
29 [[`_STLPORT_VERSION`] [V.R.P]]
30 [[`__SGI_STL_PORT`] [V.R.P]]
34 #define BOOST_LIB_STD_STLPORT BOOST_VERSION_NUMBER_NOT_AVAILABLE
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)
42 # if !defined(BOOST_LIB_STD_STLPORT) && defined(_STLPORT_VERSION)
43 # define BOOST_LIB_STD_STLPORT BOOST_PREDEF_MAKE_0X_VRP(_STLPORT_VERSION)
45 # if !defined(BOOST_LIB_STD_STLPORT)
46 # define BOOST_LIB_STD_STLPORT BOOST_PREDEF_MAKE_0X_VRP(__SGI_STL_PORT)
50 #if BOOST_LIB_STD_STLPORT
51 # define BOOST_LIB_STD_STLPORT_AVAILABLE
54 #define BOOST_LIB_STD_STLPORT_NAME "STLport"
58 #include <boost/predef/detail/test.h>
59 BOOST_PREDEF_DECLARE_TEST(BOOST_LIB_STD_STLPORT
,BOOST_LIB_STD_STLPORT_NAME
)