整理
This commit is contained in:
23
include/boost/predef/library/std/_prefix.h
Normal file
23
include/boost/predef/library/std/_prefix.h
Normal file
@@ -0,0 +1,23 @@
|
||||
/*
|
||||
Copyright Rene Rivera 2008-2013
|
||||
Distributed under the Boost Software License, Version 1.0.
|
||||
(See accompanying file LICENSE_1_0.txt or copy at
|
||||
http://www.boost.org/LICENSE_1_0.txt)
|
||||
*/
|
||||
#ifndef BOOST_PREDEF_LIBRARY_STD__PREFIX_H
|
||||
#define BOOST_PREDEF_LIBRARY_STD__PREFIX_H
|
||||
|
||||
/*
|
||||
We need to include an STD header to gives us the context
|
||||
of which library we are using. The "smallest" code-wise header
|
||||
seems to be <exception>. Boost uses <utility> but as far
|
||||
as I can tell (RR) it's not a stand-alone header in most
|
||||
implementations. Using <exception> also has the benefit of
|
||||
being available in EC++, so we get a chance to make this work
|
||||
for embedded users. And since it's not a header impacted by TR1
|
||||
there's no magic needed for inclusion in the face of the
|
||||
Boost.TR1 library.
|
||||
*/
|
||||
#include <boost/predef/detail/_exception.h>
|
||||
|
||||
#endif
|
||||
47
include/boost/predef/library/std/cxx.h
Normal file
47
include/boost/predef/library/std/cxx.h
Normal file
@@ -0,0 +1,47 @@
|
||||
/*
|
||||
Copyright Rene Rivera 2011-2015
|
||||
Distributed under the Boost Software License, Version 1.0.
|
||||
(See accompanying file LICENSE_1_0.txt or copy at
|
||||
http://www.boost.org/LICENSE_1_0.txt)
|
||||
*/
|
||||
|
||||
#ifndef BOOST_PREDEF_LIBRARY_STD_CXX_H
|
||||
#define BOOST_PREDEF_LIBRARY_STD_CXX_H
|
||||
|
||||
#include <boost/predef/library/std/_prefix.h>
|
||||
|
||||
#include <boost/predef/version_number.h>
|
||||
#include <boost/predef/make.h>
|
||||
|
||||
/* tag::reference[]
|
||||
= `BOOST_LIB_STD_CXX`
|
||||
|
||||
http://libcxx.llvm.org/[libc++] {CPP} Standard Library.
|
||||
|
||||
[options="header"]
|
||||
|===
|
||||
| {predef_symbol} | {predef_version}
|
||||
|
||||
| `+_LIBCPP_VERSION+` | {predef_detection}
|
||||
|
||||
| `+_LIBCPP_VERSION+` | V.0.P
|
||||
|===
|
||||
*/ // end::reference[]
|
||||
|
||||
#define BOOST_LIB_STD_CXX BOOST_VERSION_NUMBER_NOT_AVAILABLE
|
||||
|
||||
#if defined(_LIBCPP_VERSION)
|
||||
# undef BOOST_LIB_STD_CXX
|
||||
# define BOOST_LIB_STD_CXX BOOST_PREDEF_MAKE_10_VVPPP(_LIBCPP_VERSION)
|
||||
#endif
|
||||
|
||||
#if BOOST_LIB_STD_CXX
|
||||
# define BOOST_LIB_STD_CXX_AVAILABLE
|
||||
#endif
|
||||
|
||||
#define BOOST_LIB_STD_CXX_NAME "libc++"
|
||||
|
||||
#endif
|
||||
|
||||
#include <boost/predef/detail/test.h>
|
||||
BOOST_PREDEF_DECLARE_TEST(BOOST_LIB_STD_CXX,BOOST_LIB_STD_CXX_NAME)
|
||||
53
include/boost/predef/library/std/dinkumware.h
Normal file
53
include/boost/predef/library/std/dinkumware.h
Normal file
@@ -0,0 +1,53 @@
|
||||
/*
|
||||
Copyright Rene Rivera 2008-2015
|
||||
Distributed under the Boost Software License, Version 1.0.
|
||||
(See accompanying file LICENSE_1_0.txt or copy at
|
||||
http://www.boost.org/LICENSE_1_0.txt)
|
||||
*/
|
||||
|
||||
#ifndef BOOST_PREDEF_LIBRARY_STD_DINKUMWARE_H
|
||||
#define BOOST_PREDEF_LIBRARY_STD_DINKUMWARE_H
|
||||
|
||||
#include <boost/predef/library/std/_prefix.h>
|
||||
|
||||
#include <boost/predef/version_number.h>
|
||||
#include <boost/predef/make.h>
|
||||
|
||||
/* tag::reference[]
|
||||
= `BOOST_LIB_STD_DINKUMWARE`
|
||||
|
||||
http://en.wikipedia.org/wiki/Dinkumware[Dinkumware] Standard {CPP} Library.
|
||||
If available version number as major, minor, and patch.
|
||||
|
||||
[options="header"]
|
||||
|===
|
||||
| {predef_symbol} | {predef_version}
|
||||
|
||||
| `+_YVALS+`, `+__IBMCPP__+` | {predef_detection}
|
||||
| `+_CPPLIB_VER+` | {predef_detection}
|
||||
|
||||
| `+_CPPLIB_VER+` | V.R.0
|
||||
|===
|
||||
*/ // end::reference[]
|
||||
|
||||
#define BOOST_LIB_STD_DINKUMWARE BOOST_VERSION_NUMBER_NOT_AVAILABLE
|
||||
|
||||
#if (defined(_YVALS) && !defined(__IBMCPP__)) || defined(_CPPLIB_VER)
|
||||
# undef BOOST_LIB_STD_DINKUMWARE
|
||||
# if defined(_CPPLIB_VER)
|
||||
# define BOOST_LIB_STD_DINKUMWARE BOOST_PREDEF_MAKE_10_VVRR(_CPPLIB_VER)
|
||||
# else
|
||||
# define BOOST_LIB_STD_DINKUMWARE BOOST_VERSION_NUMBER_AVAILABLE
|
||||
# endif
|
||||
#endif
|
||||
|
||||
#if BOOST_LIB_STD_DINKUMWARE
|
||||
# define BOOST_LIB_STD_DINKUMWARE_AVAILABLE
|
||||
#endif
|
||||
|
||||
#define BOOST_LIB_STD_DINKUMWARE_NAME "Dinkumware"
|
||||
|
||||
#endif
|
||||
|
||||
#include <boost/predef/detail/test.h>
|
||||
BOOST_PREDEF_DECLARE_TEST(BOOST_LIB_STD_DINKUMWARE,BOOST_LIB_STD_DINKUMWARE_NAME)
|
||||
48
include/boost/predef/library/std/libcomo.h
Normal file
48
include/boost/predef/library/std/libcomo.h
Normal file
@@ -0,0 +1,48 @@
|
||||
/*
|
||||
Copyright Rene Rivera 2008-2015
|
||||
Distributed under the Boost Software License, Version 1.0.
|
||||
(See accompanying file LICENSE_1_0.txt or copy at
|
||||
http://www.boost.org/LICENSE_1_0.txt)
|
||||
*/
|
||||
|
||||
#ifndef BOOST_PREDEF_LIBRARY_STD_LIBCOMO_H
|
||||
#define BOOST_PREDEF_LIBRARY_STD_LIBCOMO_H
|
||||
|
||||
#include <boost/predef/library/std/_prefix.h>
|
||||
|
||||
#include <boost/predef/version_number.h>
|
||||
#include <boost/predef/make.h>
|
||||
|
||||
/* tag::reference[]
|
||||
= `BOOST_LIB_STD_COMO`
|
||||
|
||||
http://www.comeaucomputing.com/libcomo/[Comeau Computing] Standard {CPP} Library.
|
||||
Version number available as major.
|
||||
|
||||
[options="header"]
|
||||
|===
|
||||
| {predef_symbol} | {predef_version}
|
||||
|
||||
| `+__LIBCOMO__+` | {predef_detection}
|
||||
|
||||
| `+__LIBCOMO_VERSION__+` | V.0.0
|
||||
|===
|
||||
*/ // end::reference[]
|
||||
|
||||
#define BOOST_LIB_STD_COMO BOOST_VERSION_NUMBER_NOT_AVAILABLE
|
||||
|
||||
#if defined(__LIBCOMO__)
|
||||
# undef BOOST_LIB_STD_COMO
|
||||
# define BOOST_LIB_STD_COMO BOOST_VERSION_NUMBER(__LIBCOMO_VERSION__,0,0)
|
||||
#endif
|
||||
|
||||
#if BOOST_LIB_STD_COMO
|
||||
# define BOOST_LIB_STD_COMO_AVAILABLE
|
||||
#endif
|
||||
|
||||
#define BOOST_LIB_STD_COMO_NAME "Comeau Computing"
|
||||
|
||||
#endif
|
||||
|
||||
#include <boost/predef/detail/test.h>
|
||||
BOOST_PREDEF_DECLARE_TEST(BOOST_LIB_STD_COMO,BOOST_LIB_STD_COMO_NAME)
|
||||
46
include/boost/predef/library/std/modena.h
Normal file
46
include/boost/predef/library/std/modena.h
Normal file
@@ -0,0 +1,46 @@
|
||||
/*
|
||||
Copyright Rene Rivera 2008-2015
|
||||
Distributed under the Boost Software License, Version 1.0.
|
||||
(See accompanying file LICENSE_1_0.txt or copy at
|
||||
http://www.boost.org/LICENSE_1_0.txt)
|
||||
*/
|
||||
|
||||
#ifndef BOOST_PREDEF_LIBRARY_STD_MODENA_H
|
||||
#define BOOST_PREDEF_LIBRARY_STD_MODENA_H
|
||||
|
||||
#include <boost/predef/library/std/_prefix.h>
|
||||
|
||||
#include <boost/predef/version_number.h>
|
||||
#include <boost/predef/make.h>
|
||||
|
||||
/* tag::reference[]
|
||||
= `BOOST_LIB_STD_MSIPL`
|
||||
|
||||
http://modena.us/[Modena Software Lib++] Standard {CPP} Library.
|
||||
|
||||
[options="header"]
|
||||
|===
|
||||
| {predef_symbol} | {predef_version}
|
||||
|
||||
| `MSIPL_COMPILE_H` | {predef_detection}
|
||||
| `+__MSIPL_COMPILE_H+` | {predef_detection}
|
||||
|===
|
||||
*/ // end::reference[]
|
||||
|
||||
#define BOOST_LIB_STD_MSIPL BOOST_VERSION_NUMBER_NOT_AVAILABLE
|
||||
|
||||
#if defined(MSIPL_COMPILE_H) || defined(__MSIPL_COMPILE_H)
|
||||
# undef BOOST_LIB_STD_MSIPL
|
||||
# define BOOST_LIB_STD_MSIPL BOOST_VERSION_NUMBER_AVAILABLE
|
||||
#endif
|
||||
|
||||
#if BOOST_LIB_STD_MSIPL
|
||||
# define BOOST_LIB_STD_MSIPL_AVAILABLE
|
||||
#endif
|
||||
|
||||
#define BOOST_LIB_STD_MSIPL_NAME "Modena Software Lib++"
|
||||
|
||||
#endif
|
||||
|
||||
#include <boost/predef/detail/test.h>
|
||||
BOOST_PREDEF_DECLARE_TEST(BOOST_LIB_STD_MSIPL,BOOST_LIB_STD_MSIPL_NAME)
|
||||
54
include/boost/predef/library/std/msl.h
Normal file
54
include/boost/predef/library/std/msl.h
Normal file
@@ -0,0 +1,54 @@
|
||||
/*
|
||||
Copyright Rene Rivera 2008-2015
|
||||
Distributed under the Boost Software License, Version 1.0.
|
||||
(See accompanying file LICENSE_1_0.txt or copy at
|
||||
http://www.boost.org/LICENSE_1_0.txt)
|
||||
*/
|
||||
|
||||
#ifndef BOOST_PREDEF_LIBRARY_STD_MSL_H
|
||||
#define BOOST_PREDEF_LIBRARY_STD_MSL_H
|
||||
|
||||
#include <boost/predef/library/std/_prefix.h>
|
||||
|
||||
#include <boost/predef/version_number.h>
|
||||
#include <boost/predef/make.h>
|
||||
|
||||
/* tag::reference[]
|
||||
= `BOOST_LIB_STD_MSL`
|
||||
|
||||
http://www.freescale.com/[Metrowerks] Standard {CPP} Library.
|
||||
Version number available as major, minor, and patch.
|
||||
|
||||
[options="header"]
|
||||
|===
|
||||
| {predef_symbol} | {predef_version}
|
||||
|
||||
| `+__MSL_CPP__+` | {predef_detection}
|
||||
| `+__MSL__+` | {predef_detection}
|
||||
|
||||
| `+__MSL_CPP__+` | V.R.P
|
||||
| `+__MSL__+` | V.R.P
|
||||
|===
|
||||
*/ // end::reference[]
|
||||
|
||||
#define BOOST_LIB_STD_MSL BOOST_VERSION_NUMBER_NOT_AVAILABLE
|
||||
|
||||
#if defined(__MSL_CPP__) || defined(__MSL__)
|
||||
# undef BOOST_LIB_STD_MSL
|
||||
# if defined(__MSL_CPP__)
|
||||
# define BOOST_LIB_STD_MSL BOOST_PREDEF_MAKE_0X_VRPP(__MSL_CPP__)
|
||||
# else
|
||||
# define BOOST_LIB_STD_MSL BOOST_PREDEF_MAKE_0X_VRPP(__MSL__)
|
||||
# endif
|
||||
#endif
|
||||
|
||||
#if BOOST_LIB_STD_MSL
|
||||
# define BOOST_LIB_STD_MSL_AVAILABLE
|
||||
#endif
|
||||
|
||||
#define BOOST_LIB_STD_MSL_NAME "Metrowerks"
|
||||
|
||||
#endif
|
||||
|
||||
#include <boost/predef/detail/test.h>
|
||||
BOOST_PREDEF_DECLARE_TEST(BOOST_LIB_STD_MSL,BOOST_LIB_STD_MSL_NAME)
|
||||
53
include/boost/predef/library/std/msvc.h
Normal file
53
include/boost/predef/library/std/msvc.h
Normal file
@@ -0,0 +1,53 @@
|
||||
/*
|
||||
Copyright Henrik S. Gaßmann 2023
|
||||
Distributed under the Boost Software License, Version 1.0.
|
||||
(See accompanying file LICENSE_1_0.txt or copy at
|
||||
http://www.boost.org/LICENSE_1_0.txt)
|
||||
*/
|
||||
|
||||
#ifndef BOOST_PREDEF_LIBRARY_STD_MSVC_H
|
||||
#define BOOST_PREDEF_LIBRARY_STD_MSVC_H
|
||||
|
||||
#include <boost/predef/library/std/_prefix.h>
|
||||
|
||||
#include <boost/predef/version_number.h>
|
||||
#include <boost/predef/make.h>
|
||||
|
||||
/* tag::reference[]
|
||||
= `BOOST_LIB_STD_MSVC`
|
||||
|
||||
https://github.com/microsoft/STL[Microsoft's {CPP} Standard Library].
|
||||
If available version number as major, minor, and patch.
|
||||
The patch number is derived from `_MSVC_STL_UPDATE` by taking its five last
|
||||
digits (see below). This implies that pasting a `_MSVC_STL_UPDATE` value into
|
||||
`BOOST_VERSION_NUMBER` will produce a version number that is directly comparable
|
||||
to `BOOST_LIB_STD_MSVC`.
|
||||
|
||||
[options="header"]
|
||||
|===
|
||||
| {predef_symbol} | {predef_version}
|
||||
|
||||
| `+_MSVC_STL_VERSION+` | {predef_detection}
|
||||
|
||||
| `+_MSVC_STL_VERSION+` | VV.R.0
|
||||
| `+_MSVC_STL_UPDATE+` | 00.0.0YYYMM
|
||||
|===
|
||||
*/ // end::reference[]
|
||||
|
||||
#define BOOST_LIB_STD_MSVC BOOST_VERSION_NUMBER_NOT_AVAILABLE
|
||||
|
||||
#if defined(_MSVC_STL_VERSION)
|
||||
# undef BOOST_LIB_STD_MSVC
|
||||
# define BOOST_LIB_STD_MSVC BOOST_PREDEF_MAKE_10_VVR_0PPPPP(_MSVC_STL_VERSION, _MSVC_STL_UPDATE)
|
||||
#endif
|
||||
|
||||
#if BOOST_LIB_STD_MSVC
|
||||
# define BOOST_LIB_STD_MSVC_AVAILABLE
|
||||
#endif
|
||||
|
||||
#define BOOST_LIB_STD_MSVC_NAME "Microsoft stdlib"
|
||||
|
||||
#endif
|
||||
|
||||
#include <boost/predef/detail/test.h>
|
||||
BOOST_PREDEF_DECLARE_TEST(BOOST_LIB_STD_MSVC, BOOST_LIB_STD_MSVC_NAME)
|
||||
57
include/boost/predef/library/std/roguewave.h
Normal file
57
include/boost/predef/library/std/roguewave.h
Normal file
@@ -0,0 +1,57 @@
|
||||
/*
|
||||
Copyright Rene Rivera 2008-2015
|
||||
Distributed under the Boost Software License, Version 1.0.
|
||||
(See accompanying file LICENSE_1_0.txt or copy at
|
||||
http://www.boost.org/LICENSE_1_0.txt)
|
||||
*/
|
||||
|
||||
#ifndef BOOST_PREDEF_LIBRARY_STD_ROGUEWAVE_H
|
||||
#define BOOST_PREDEF_LIBRARY_STD_ROGUEWAVE_H
|
||||
|
||||
#include <boost/predef/library/std/_prefix.h>
|
||||
|
||||
#include <boost/predef/version_number.h>
|
||||
#include <boost/predef/make.h>
|
||||
|
||||
/* tag::reference[]
|
||||
= `BOOST_LIB_STD_RW`
|
||||
|
||||
http://stdcxx.apache.org/[Roguewave] Standard {CPP} library.
|
||||
If available version number as major, minor, and patch.
|
||||
|
||||
[options="header"]
|
||||
|===
|
||||
| {predef_symbol} | {predef_version}
|
||||
|
||||
| `+__STD_RWCOMPILER_H__+` | {predef_detection}
|
||||
| `+_RWSTD_VER+` | {predef_detection}
|
||||
|
||||
| `+_RWSTD_VER+` | V.R.P
|
||||
|===
|
||||
*/ // end::reference[]
|
||||
|
||||
#define BOOST_LIB_STD_RW BOOST_VERSION_NUMBER_NOT_AVAILABLE
|
||||
|
||||
#if defined(__STD_RWCOMPILER_H__) || defined(_RWSTD_VER)
|
||||
# undef BOOST_LIB_STD_RW
|
||||
# if defined(_RWSTD_VER)
|
||||
# if _RWSTD_VER < 0x010000
|
||||
# define BOOST_LIB_STD_RW BOOST_PREDEF_MAKE_0X_VVRRP(_RWSTD_VER)
|
||||
# else
|
||||
# define BOOST_LIB_STD_RW BOOST_PREDEF_MAKE_0X_VVRRPP(_RWSTD_VER)
|
||||
# endif
|
||||
# else
|
||||
# define BOOST_LIB_STD_RW BOOST_VERSION_NUMBER_AVAILABLE
|
||||
# endif
|
||||
#endif
|
||||
|
||||
#if BOOST_LIB_STD_RW
|
||||
# define BOOST_LIB_STD_RW_AVAILABLE
|
||||
#endif
|
||||
|
||||
#define BOOST_LIB_STD_RW_NAME "Roguewave"
|
||||
|
||||
#endif
|
||||
|
||||
#include <boost/predef/detail/test.h>
|
||||
BOOST_PREDEF_DECLARE_TEST(BOOST_LIB_STD_RW,BOOST_LIB_STD_RW_NAME)
|
||||
52
include/boost/predef/library/std/sgi.h
Normal file
52
include/boost/predef/library/std/sgi.h
Normal file
@@ -0,0 +1,52 @@
|
||||
/*
|
||||
Copyright Rene Rivera 2008-2015
|
||||
Distributed under the Boost Software License, Version 1.0.
|
||||
(See accompanying file LICENSE_1_0.txt or copy at
|
||||
http://www.boost.org/LICENSE_1_0.txt)
|
||||
*/
|
||||
|
||||
#ifndef BOOST_PREDEF_LIBRARY_STD_SGI_H
|
||||
#define BOOST_PREDEF_LIBRARY_STD_SGI_H
|
||||
|
||||
#include <boost/predef/library/std/_prefix.h>
|
||||
|
||||
#include <boost/predef/version_number.h>
|
||||
#include <boost/predef/make.h>
|
||||
|
||||
/* tag::reference[]
|
||||
= `BOOST_LIB_STD_SGI`
|
||||
|
||||
http://www.sgi.com/tech/stl/[SGI] Standard {CPP} library.
|
||||
If available version number as major, minor, and patch.
|
||||
|
||||
[options="header"]
|
||||
|===
|
||||
| {predef_symbol} | {predef_version}
|
||||
|
||||
| `+__STL_CONFIG_H+` | {predef_detection}
|
||||
|
||||
| `+__SGI_STL+` | V.R.P
|
||||
|===
|
||||
*/ // end::reference[]
|
||||
|
||||
#define BOOST_LIB_STD_SGI BOOST_VERSION_NUMBER_NOT_AVAILABLE
|
||||
|
||||
#if defined(__STL_CONFIG_H)
|
||||
# undef BOOST_LIB_STD_SGI
|
||||
# if defined(__SGI_STL)
|
||||
# define BOOST_LIB_STD_SGI BOOST_PREDEF_MAKE_0X_VRP(__SGI_STL)
|
||||
# else
|
||||
# define BOOST_LIB_STD_SGI BOOST_VERSION_NUMBER_AVAILABLE
|
||||
# endif
|
||||
#endif
|
||||
|
||||
#if BOOST_LIB_STD_SGI
|
||||
# define BOOST_LIB_STD_SGI_AVAILABLE
|
||||
#endif
|
||||
|
||||
#define BOOST_LIB_STD_SGI_NAME "SGI"
|
||||
|
||||
#endif
|
||||
|
||||
#include <boost/predef/detail/test.h>
|
||||
BOOST_PREDEF_DECLARE_TEST(BOOST_LIB_STD_SGI,BOOST_LIB_STD_SGI_NAME)
|
||||
54
include/boost/predef/library/std/stdcpp3.h
Normal file
54
include/boost/predef/library/std/stdcpp3.h
Normal file
@@ -0,0 +1,54 @@
|
||||
/*
|
||||
Copyright Rene Rivera 2008-2015
|
||||
Distributed under the Boost Software License, Version 1.0.
|
||||
(See accompanying file LICENSE_1_0.txt or copy at
|
||||
http://www.boost.org/LICENSE_1_0.txt)
|
||||
*/
|
||||
|
||||
#ifndef BOOST_PREDEF_LIBRARY_STD_STDCPP3_H
|
||||
#define BOOST_PREDEF_LIBRARY_STD_STDCPP3_H
|
||||
|
||||
#include <boost/predef/library/std/_prefix.h>
|
||||
|
||||
#include <boost/predef/version_number.h>
|
||||
#include <boost/predef/make.h>
|
||||
|
||||
/* tag::reference[]
|
||||
= `BOOST_LIB_STD_GNU`
|
||||
|
||||
https://gcc.gnu.org/onlinedocs/libstdc%2b%2b/[GNU libstdc++] Standard {CPP} library.
|
||||
Version number available as year (from 1970), month, and day.
|
||||
|
||||
[options="header"]
|
||||
|===
|
||||
| {predef_symbol} | {predef_version}
|
||||
|
||||
| `+__GLIBCXX__+` | {predef_detection}
|
||||
| `+__GLIBCPP__+` | {predef_detection}
|
||||
|
||||
| `+__GLIBCXX__+` | V.R.P
|
||||
| `+__GLIBCPP__+` | V.R.P
|
||||
|===
|
||||
*/ // end::reference[]
|
||||
|
||||
#define BOOST_LIB_STD_GNU BOOST_VERSION_NUMBER_NOT_AVAILABLE
|
||||
|
||||
#if defined(__GLIBCPP__) || defined(__GLIBCXX__)
|
||||
# undef BOOST_LIB_STD_GNU
|
||||
# if defined(__GLIBCXX__)
|
||||
# define BOOST_LIB_STD_GNU BOOST_PREDEF_MAKE_YYYYMMDD(__GLIBCXX__)
|
||||
# else
|
||||
# define BOOST_LIB_STD_GNU BOOST_PREDEF_MAKE_YYYYMMDD(__GLIBCPP__)
|
||||
# endif
|
||||
#endif
|
||||
|
||||
#if BOOST_LIB_STD_GNU
|
||||
# define BOOST_LIB_STD_GNU_AVAILABLE
|
||||
#endif
|
||||
|
||||
#define BOOST_LIB_STD_GNU_NAME "GNU"
|
||||
|
||||
#endif
|
||||
|
||||
#include <boost/predef/detail/test.h>
|
||||
BOOST_PREDEF_DECLARE_TEST(BOOST_LIB_STD_GNU,BOOST_LIB_STD_GNU_NAME)
|
||||
60
include/boost/predef/library/std/stlport.h
Normal file
60
include/boost/predef/library/std/stlport.h
Normal file
@@ -0,0 +1,60 @@
|
||||
/*
|
||||
Copyright Rene Rivera 2008-2015
|
||||
Distributed under the Boost Software License, Version 1.0.
|
||||
(See accompanying file LICENSE_1_0.txt or copy at
|
||||
http://www.boost.org/LICENSE_1_0.txt)
|
||||
*/
|
||||
|
||||
#ifndef BOOST_PREDEF_LIBRARY_STD_STLPORT_H
|
||||
#define BOOST_PREDEF_LIBRARY_STD_STLPORT_H
|
||||
|
||||
#include <boost/predef/library/std/_prefix.h>
|
||||
|
||||
#include <boost/predef/version_number.h>
|
||||
#include <boost/predef/make.h>
|
||||
|
||||
/* tag::reference[]
|
||||
= `BOOST_LIB_STD_STLPORT`
|
||||
|
||||
http://sourceforge.net/projects/stlport/[STLport Standard {CPP}] library.
|
||||
Version number available as major, minor, and patch.
|
||||
|
||||
[options="header"]
|
||||
|===
|
||||
| {predef_symbol} | {predef_version}
|
||||
|
||||
| `+__SGI_STL_PORT+` | {predef_detection}
|
||||
| `+_STLPORT_VERSION+` | {predef_detection}
|
||||
|
||||
| `+_STLPORT_MAJOR+`, `+_STLPORT_MINOR+`, `+_STLPORT_PATCHLEVEL+` | V.R.P
|
||||
| `+_STLPORT_VERSION+` | V.R.P
|
||||
| `+__SGI_STL_PORT+` | V.R.P
|
||||
|===
|
||||
*/ // end::reference[]
|
||||
|
||||
#define BOOST_LIB_STD_STLPORT BOOST_VERSION_NUMBER_NOT_AVAILABLE
|
||||
|
||||
#if defined(__SGI_STL_PORT) || defined(_STLPORT_VERSION)
|
||||
# undef BOOST_LIB_STD_STLPORT
|
||||
# if !defined(BOOST_LIB_STD_STLPORT) && defined(_STLPORT_MAJOR)
|
||||
# define BOOST_LIB_STD_STLPORT \
|
||||
BOOST_VERSION_NUMBER(_STLPORT_MAJOR,_STLPORT_MINOR,_STLPORT_PATCHLEVEL)
|
||||
# endif
|
||||
# if !defined(BOOST_LIB_STD_STLPORT) && defined(_STLPORT_VERSION)
|
||||
# define BOOST_LIB_STD_STLPORT BOOST_PREDEF_MAKE_0X_VRP(_STLPORT_VERSION)
|
||||
# endif
|
||||
# if !defined(BOOST_LIB_STD_STLPORT)
|
||||
# define BOOST_LIB_STD_STLPORT BOOST_PREDEF_MAKE_0X_VRP(__SGI_STL_PORT)
|
||||
# endif
|
||||
#endif
|
||||
|
||||
#if BOOST_LIB_STD_STLPORT
|
||||
# define BOOST_LIB_STD_STLPORT_AVAILABLE
|
||||
#endif
|
||||
|
||||
#define BOOST_LIB_STD_STLPORT_NAME "STLport"
|
||||
|
||||
#endif
|
||||
|
||||
#include <boost/predef/detail/test.h>
|
||||
BOOST_PREDEF_DECLARE_TEST(BOOST_LIB_STD_STLPORT,BOOST_LIB_STD_STLPORT_NAME)
|
||||
45
include/boost/predef/library/std/vacpp.h
Normal file
45
include/boost/predef/library/std/vacpp.h
Normal file
@@ -0,0 +1,45 @@
|
||||
/*
|
||||
Copyright Rene Rivera 2008-2015
|
||||
Distributed under the Boost Software License, Version 1.0.
|
||||
(See accompanying file LICENSE_1_0.txt or copy at
|
||||
http://www.boost.org/LICENSE_1_0.txt)
|
||||
*/
|
||||
|
||||
#ifndef BOOST_PREDEF_LIBRARY_STD_VACPP_H
|
||||
#define BOOST_PREDEF_LIBRARY_STD_VACPP_H
|
||||
|
||||
#include <boost/predef/library/std/_prefix.h>
|
||||
|
||||
#include <boost/predef/version_number.h>
|
||||
#include <boost/predef/make.h>
|
||||
|
||||
/* tag::reference[]
|
||||
= `BOOST_LIB_STD_IBM`
|
||||
|
||||
http://www.ibm.com/software/awdtools/xlcpp/[IBM VACPP Standard {CPP}] library.
|
||||
|
||||
[options="header"]
|
||||
|===
|
||||
| {predef_symbol} | {predef_version}
|
||||
|
||||
| `+__IBMCPP__+` | {predef_detection}
|
||||
|===
|
||||
*/ // end::reference[]
|
||||
|
||||
#define BOOST_LIB_STD_IBM BOOST_VERSION_NUMBER_NOT_AVAILABLE
|
||||
|
||||
#if defined(__IBMCPP__)
|
||||
# undef BOOST_LIB_STD_IBM
|
||||
# define BOOST_LIB_STD_IBM BOOST_VERSION_NUMBER_AVAILABLE
|
||||
#endif
|
||||
|
||||
#if BOOST_LIB_STD_IBM
|
||||
# define BOOST_LIB_STD_IBM_AVAILABLE
|
||||
#endif
|
||||
|
||||
#define BOOST_LIB_STD_IBM_NAME "IBM VACPP"
|
||||
|
||||
#endif
|
||||
|
||||
#include <boost/predef/detail/test.h>
|
||||
BOOST_PREDEF_DECLARE_TEST(BOOST_LIB_STD_IBM,BOOST_LIB_STD_IBM_NAME)
|
||||
Reference in New Issue
Block a user