Another cleanup pass.. And a first pass at documentation.

git-svn-id: http://svn.boost.org/svn/boost/sandbox/predef@75741 b8fc166d-592f-0410-95f2-cb63ce0dd405
This commit is contained in:
Rene Rivera
2011-11-30 05:54:23 +00:00
parent 5513bc2b02
commit 45df001094
99 changed files with 3214 additions and 129 deletions
+8 -1
View File
@@ -1,5 +1,5 @@
/*
Copyright Redshift Software, Inc. 2008-2010
Copyright Redshift Software, Inc. 2008-2011
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)
@@ -11,6 +11,13 @@ http://www.boost.org/LICENSE_1_0.txt)
#include <boost/predef/version_number.h>
#include <boost/predef/make.h>
/*`
[heading `BOOST_CXX_BORLAND`]
[@http://en.wikipedia.org/wiki/XXX Borland] compiler.
Version number available as major, minor, and patch.
*/
#define BOOST_CXX_BORLAND BOOST_VERSION_NUMBER(0,0,0)
#if defined(__BORLANDC__)
+8 -1
View File
@@ -1,5 +1,5 @@
/*
Copyright Redshift Software, Inc. 2008-2010
Copyright Redshift Software, Inc. 2008-2011
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)
@@ -13,6 +13,13 @@ http://www.boost.org/LICENSE_1_0.txt)
#define BOOST_CXX_COMO BOOST_VERSION_NUMBER(0,0,0)
/*`
[heading `BOOST_CXX_COMO`]
[@http://en.wikipedia.org/wiki/XXX Comeau] compiler.
Version number available as major, minor, and patch.
*/
#if defined(__COMO__)
#undef BOOST_CXX_COMO
#define BOOST_CXX_COMO BOOST_PREDEF_MAKE_F_F_FF(__COMO_VERSION__)
+8 -1
View File
@@ -1,5 +1,5 @@
/*
Copyright Redshift Software, Inc. 2008-2010
Copyright Redshift Software, Inc. 2008-2011
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)
@@ -11,6 +11,13 @@ http://www.boost.org/LICENSE_1_0.txt)
#include <boost/predef/version_number.h>
#include <boost/predef/make.h>
/*`
[heading `BOOST_CXX_DEC`]
[@http://en.wikipedia.org/wiki/XXX Compaq DEC] compiler.
Version number available as major, minor, and patch.
*/
#define BOOST_CXX_DEC BOOST_VERSION_NUMBER(0,0,0)
#if defined(__DECC)
+7 -1
View File
@@ -1,5 +1,5 @@
/*
Copyright Redshift Software, Inc. 2008-2010
Copyright Redshift Software, Inc. 2008-2011
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)
@@ -11,6 +11,12 @@ http://www.boost.org/LICENSE_1_0.txt)
#include <boost/predef/version_number.h>
#include <boost/predef/make.h>
/*`
[heading `BOOST_CXX_CYGWIN`]
[@http://en.wikipedia.org/wiki/XXX Cygwin] compiler.
*/
#define BOOST_CXX_CYGWIN BOOST_VERSION_NUMBER(0,0,0)
#if defined(__CYGWIN__)
+8 -1
View File
@@ -1,5 +1,5 @@
/*
Copyright Redshift Software, Inc. 2008-2010
Copyright Redshift Software, Inc. 2008-2011
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)
@@ -11,6 +11,13 @@ http://www.boost.org/LICENSE_1_0.txt)
#include <boost/predef/version_number.h>
#include <boost/predef/make.h>
/*`
[heading `BOOST_CXX_DIAB`]
[@http://en.wikipedia.org/wiki/XXX Diab] compiler.
Version number available as major, minor, and patch.
*/
#define BOOST_CXX_DIAB BOOST_VERSION_NUMBER(0,0,0)
#if defined(__DCC__)
+8 -1
View File
@@ -1,5 +1,5 @@
/*
Copyright Redshift Software, Inc. 2008-2010
Copyright Redshift Software, Inc. 2008-2011
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)
@@ -11,6 +11,13 @@ http://www.boost.org/LICENSE_1_0.txt)
#include <boost/predef/version_number.h>
#include <boost/predef/make.h>
/*`
[heading `BOOST_CXX_DMC`]
[@http://en.wikipedia.org/wiki/XXX Digital Mars] compiler.
Version number available as major, minor, and patch.
*/
#define BOOST_CXX_DMC BOOST_VERSION_NUMBER(0,0,0)
#if defined(__DMC__)
+8 -1
View File
@@ -1,5 +1,5 @@
/*
Copyright Redshift Software, Inc. 2008-2010
Copyright Redshift Software, Inc. 2008-2011
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)
@@ -11,6 +11,13 @@ http://www.boost.org/LICENSE_1_0.txt)
#include <boost/predef/version_number.h>
#include <boost/predef/make.h>
/*`
[heading `BOOST_CXX_SYSC`]
[@http://en.wikipedia.org/wiki/XXX Dignus SysC] compiler.
Version number available as major, minor, and patch.
*/
#define BOOST_CXX_SYSC BOOST_VERSION_NUMBER(0,0,0)
#if defined(__SYSC__)
+8 -1
View File
@@ -1,5 +1,5 @@
/*
Copyright Redshift Software, Inc. 2008-2010
Copyright Redshift Software, Inc. 2008-2011
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)
@@ -11,6 +11,13 @@ http://www.boost.org/LICENSE_1_0.txt)
#include <boost/predef/version_number.h>
#include <boost/predef/make.h>
/*`
[heading `BOOST_CXX_EDG`]
[@http://en.wikipedia.org/wiki/XXX EDG] compiler.
Version number available as major, minor, and patch.
*/
#define BOOST_CXX_EDG BOOST_VERSION_NUMBER(0,0,0)
#if defined(__EDG__)
+8 -1
View File
@@ -1,5 +1,5 @@
/*
Copyright Redshift Software, Inc. 2008-2010
Copyright Redshift Software, Inc. 2008-2011
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)
@@ -11,6 +11,13 @@ http://www.boost.org/LICENSE_1_0.txt)
#include <boost/predef/version_number.h>
#include <boost/predef/make.h>
/*`
[heading `BOOST_CXX_PATH`]
[@http://en.wikipedia.org/wiki/XXX Ekopath] compiler.
Version number available as major, minor, and patch.
*/
#define BOOST_CXX_PATH BOOST_VERSION_NUMBER(0,0,0)
#if defined(__PATHCC__)
+9 -2
View File
@@ -1,5 +1,5 @@
/*
Copyright Redshift Software, Inc. 2008-2010
Copyright Redshift Software, Inc. 2008-2011
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)
@@ -11,6 +11,13 @@ http://www.boost.org/LICENSE_1_0.txt)
#include <boost/predef/version_number.h>
#include <boost/predef/make.h>
/*`
[heading `BOOST_CXX_GNUC`]
[@http://en.wikipedia.org/wiki/XXX Gnu C/C++] compiler.
Version number available as major, minor, and patch (if available).
*/
#define BOOST_CXX_GNUC BOOST_VERSION_NUMBER(0,0,0)
#if defined(__GNUC__)
@@ -25,6 +32,6 @@ http://www.boost.org/LICENSE_1_0.txt)
#endif
#include <boost/predef/detail/test.h>
BOOST_PREDEF_DECLARE_TEST(BOOST_CXX_GNUC,"GNUC")
BOOST_PREDEF_DECLARE_TEST(BOOST_CXX_GNUC,"Gnu C/C++")
#endif
+7 -1
View File
@@ -1,5 +1,5 @@
/*
Copyright Redshift Software, Inc. 2008-2010
Copyright Redshift Software, Inc. 2008-2011
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)
@@ -11,6 +11,12 @@ http://www.boost.org/LICENSE_1_0.txt)
#include <boost/predef/version_number.h>
#include <boost/predef/make.h>
/*`
[heading `BOOST_CXX_GCCXML`]
[@http://en.wikipedia.org/wiki/XXX GCC XML] compiler.
*/
#define BOOST_CXX_GCCXML BOOST_VERSION_NUMBER(0,0,0)
#if defined(__GCCXML__)
+8 -1
View File
@@ -1,5 +1,5 @@
/*
Copyright Redshift Software, Inc. 2008-2010
Copyright Redshift Software, Inc. 2008-2011
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)
@@ -11,6 +11,13 @@ http://www.boost.org/LICENSE_1_0.txt)
#include <boost/predef/version_number.h>
#include <boost/predef/make.h>
/*`
[heading `BOOST_CXX_GHS`]
[@http://en.wikipedia.org/wiki/XXX Green Hills] compiler.
Version number available as major, minor, and patch.
*/
#define BOOST_CXX_GHS BOOST_VERSION_NUMBER(0,0,0)
#if defined(__ghs)
+8 -1
View File
@@ -1,5 +1,5 @@
/*
Copyright Redshift Software, Inc. 2008-2010
Copyright Redshift Software, Inc. 2008-2011
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)
@@ -11,6 +11,13 @@ http://www.boost.org/LICENSE_1_0.txt)
#include <boost/predef/version_number.h>
#include <boost/predef/make.h>
/*`
[heading `BOOST_CXX_HPACC`]
[@http://en.wikipedia.org/wiki/XXX HP ACC] compiler.
Version number available as major, minor, and patch.
*/
#define BOOST_CXX_HPACC BOOST_VERSION_NUMBER(0,0,0)
#if defined(__HP_aCC)
+8 -1
View File
@@ -1,5 +1,5 @@
/*
Copyright Redshift Software, Inc. 2008-2010
Copyright Redshift Software, Inc. 2008-2011
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)
@@ -11,6 +11,13 @@ http://www.boost.org/LICENSE_1_0.txt)
#include <boost/predef/version_number.h>
#include <boost/predef/make.h>
/*`
[heading `BOOST_CXX_IAR`]
[@http://en.wikipedia.org/wiki/XXX IAR] compiler.
Version number available as major, minor, and patch.
*/
#define BOOST_CXX_IAR BOOST_VERSION_NUMBER(0,0,0)
#if defined(__IAR_SYSTEMS_ICC__)
+8 -1
View File
@@ -1,5 +1,5 @@
/*
Copyright Redshift Software, Inc. 2008-2010
Copyright Redshift Software, Inc. 2008-2011
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)
@@ -11,6 +11,13 @@ http://www.boost.org/LICENSE_1_0.txt)
#include <boost/predef/version_number.h>
#include <boost/predef/make.h>
/*`
[heading `BOOST_CXX_IBM`]
[@http://en.wikipedia.org/wiki/XXX Iternational Business Mchines] compiler.
Version number available as major, minor, and patch.
*/
#define BOOST_CXX_IBM BOOST_VERSION_NUMBER(0,0,0)
#if defined(__IBMCPP__) || defined(__xlC__)
+8 -1
View File
@@ -1,5 +1,5 @@
/*
Copyright Redshift Software, Inc. 2008-2010
Copyright Redshift Software, Inc. 2008-2011
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)
@@ -11,6 +11,13 @@ http://www.boost.org/LICENSE_1_0.txt)
#include <boost/predef/version_number.h>
#include <boost/predef/make.h>
/*`
[heading `BOOST_CXX_INTEL`]
[@http://en.wikipedia.org/wiki/XXX Intel] compiler.
Version number available as major, minor, and patch.
*/
#define BOOST_CXX_INTEL BOOST_VERSION_NUMBER(0,0,0)
#if defined(__INTEL_COMPILER) || defined(__ICL) || defined(__ICC) || \
+8 -1
View File
@@ -1,5 +1,5 @@
/*
Copyright Redshift Software, Inc. 2008-2010
Copyright Redshift Software, Inc. 2008-2011
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)
@@ -11,6 +11,13 @@ http://www.boost.org/LICENSE_1_0.txt)
#include <boost/predef/version_number.h>
#include <boost/predef/make.h>
/*`
[heading `BOOST_CXX_KCC`]
[@http://en.wikipedia.org/wiki/XXX Kai] compiler.
Version number available as major, minor, and patch.
*/
#define BOOST_CXX_KCC BOOST_VERSION_NUMBER(0,0,0)
#if defined(__KCC)
+7 -1
View File
@@ -1,5 +1,5 @@
/*
Copyright Redshift Software, Inc. 2008-2010
Copyright Redshift Software, Inc. 2008-2011
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)
@@ -11,6 +11,12 @@ http://www.boost.org/LICENSE_1_0.txt)
#include <boost/predef/version_number.h>
#include <boost/predef/make.h>
/*`
[heading `BOOST_CXX_LLVM`]
[@http://en.wikipedia.org/wiki/XXX LLVM] compiler.
*/
#define BOOST_CXX_LLVM BOOST_VERSION_NUMBER(0,0,0)
#if defined(__llvm__)
+7 -1
View File
@@ -1,5 +1,5 @@
/*
Copyright Redshift Software, Inc. 2008-2010
Copyright Redshift Software, Inc. 2008-2011
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)
@@ -11,6 +11,12 @@ http://www.boost.org/LICENSE_1_0.txt)
#include <boost/predef/version_number.h>
#include <boost/predef/make.h>
/*`
[heading `BOOST_CXX_HIGHC`]
[@http://en.wikipedia.org/wiki/XXX Metaware HighC] compiler.
*/
#define BOOST_CXX_HIGHC BOOST_VERSION_NUMBER(0,0,0)
#if defined(__HIGHC__)
+14 -21
View File
@@ -1,5 +1,5 @@
/*
Copyright Redshift Software, Inc. 2008-2010
Copyright Redshift Software, Inc. 2008-2011
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)
@@ -11,30 +11,23 @@ http://www.boost.org/LICENSE_1_0.txt)
#include <boost/predef/version_number.h>
#include <boost/predef/make.h>
/*`
[heading `BOOST_CXX_MWERKS`]
[@http://en.wikipedia.org/wiki/XXX Metrowerks] compiler.
Version number available as major, minor, and patch.
*/
#define BOOST_CXX_MWERKS BOOST_VERSION_NUMBER(0,0,0)
#if defined(__MWERKS__)
#undef BOOST_CXX_MWERKS
#if __MWERKS__ == 0x3000
#define BOOST_CXX_MWERKS BOOST_VERSION_NUMBER(8,0,0)
#elif __MWERKS__ == 0x3001
#define BOOST_CXX_MWERKS BOOST_VERSION_NUMBER(8,1,0)
#elif __MWERKS__ == 0x3002
#define BOOST_CXX_MWERKS BOOST_VERSION_NUMBER(8,2,0)
#elif __MWERKS__ == 0x3003
#define BOOST_CXX_MWERKS BOOST_VERSION_NUMBER(8,3,0)
#elif __MWERKS__ == 0x3200
#define BOOST_CXX_MWERKS BOOST_VERSION_NUMBER(9,0,0)
#elif __MWERKS__ == 0x3201
#define BOOST_CXX_MWERKS BOOST_VERSION_NUMBER(9,1,0)
#elif __MWERKS__ == 0x3202
#define BOOST_CXX_MWERKS BOOST_VERSION_NUMBER(9,2,0)
#elif __MWERKS__ == 0x3204 // note the "skip": 04->9.3
#define BOOST_CXX_MWERKS BOOST_VERSION_NUMBER(9,3,0)
#elif __MWERKS__ == 0x3205
#define BOOST_CXX_MWERKS BOOST_VERSION_NUMBER(9,4,0)
#elif __MWERKS__ == 0x3206
#define BOOST_CXX_MWERKS BOOST_VERSION_NUMBER(9,5,0)
#if (__MWERKS__ >= 0x3000) && (__MWERKS__ < 0x3200)
#define BOOST_CXX_MWERKS BOOST_VERSION_NUMBER(8,(__MWERKS__)%100,0)
#elif (__MWERKS__ >= 0x3200) && (__MWERKS__ <= 0x3202)
#define BOOST_CXX_MWERKS BOOST_VERSION_NUMBER(9,(__MWERKS__)%100,0)
#elif (__MWERKS__ >= 0x3204) && (__MWERKS__ < 0x3300) // note the "skip": 04->9.3
#define BOOST_CXX_MWERKS BOOST_VERSION_NUMBER(9,(__MWERKS__)%100-1,0)
#else
#define BOOST_CXX_MWERKS BOOST_PREDEF_MAKE_F_F_FF(__MWERKS__)
#endif
+7 -1
View File
@@ -1,5 +1,5 @@
/*
Copyright Redshift Software, Inc. 2008-2010
Copyright Redshift Software, Inc. 2008-2011
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)
@@ -11,6 +11,12 @@ http://www.boost.org/LICENSE_1_0.txt)
#include <boost/predef/version_number.h>
#include <boost/predef/make.h>
/*`
[heading `BOOST_CXX_MRI`]
[@http://en.wikipedia.org/wiki/XXX Microtec] compiler.
*/
#define BOOST_CXX_MRI BOOST_VERSION_NUMBER(0,0,0)
#if defined(_MRI)
+8 -1
View File
@@ -1,5 +1,5 @@
/*
Copyright Redshift Software, Inc. 2008-2010
Copyright Redshift Software, Inc. 2008-2011
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)
@@ -11,6 +11,13 @@ http://www.boost.org/LICENSE_1_0.txt)
#include <boost/predef/version_number.h>
#include <boost/predef/make.h>
/*`
[heading `BOOST_CXX_MINGW`]
[@http://en.wikipedia.org/wiki/XXX MinGW] compiler.
Version number available as major, minor, and patch.
*/
#define BOOST_CXX_MINGW BOOST_VERSION_NUMBER(0,0,0)
#if defined(__MINGW32__)
+8 -1
View File
@@ -1,5 +1,5 @@
/*
Copyright Redshift Software, Inc. 2008-2010
Copyright Redshift Software, Inc. 2008-2011
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)
@@ -11,6 +11,13 @@ http://www.boost.org/LICENSE_1_0.txt)
#include <boost/predef/version_number.h>
#include <boost/predef/make.h>
/*`
[heading `BOOST_CXX_MPW`]
[@http://en.wikipedia.org/wiki/XXX MPW] compiler.
Version number available as major, and minor.
*/
#define BOOST_CXX_MPW BOOST_VERSION_NUMBER(0,0,0)
#if defined(__MRC__)
+8 -1
View File
@@ -1,5 +1,5 @@
/*
Copyright Redshift Software, Inc. 2008-2010
Copyright Redshift Software, Inc. 2008-2011
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)
@@ -11,6 +11,13 @@ http://www.boost.org/LICENSE_1_0.txt)
#include <boost/predef/version_number.h>
#include <boost/predef/make.h>
/*`
[heading `BOOST_CXX_PALM`]
[@http://en.wikipedia.org/wiki/XXX Palm] compiler.
Version number available as major, minor, and patch.
*/
#define BOOST_CXX_PALM BOOST_VERSION_NUMBER(0,0,0)
#if defined(_PACC_VER)
+7 -1
View File
@@ -1,5 +1,5 @@
/*
Copyright Redshift Software, Inc. 2008-2010
Copyright Redshift Software, Inc. 2008-2011
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)
@@ -11,6 +11,12 @@ http://www.boost.org/LICENSE_1_0.txt)
#include <boost/predef/version_number.h>
#include <boost/predef/make.h>
/*`
[heading `BOOST_CXX_PGI`]
[@http://en.wikipedia.org/wiki/XXX PGI] compiler.
*/
#define BOOST_CXX_PGI BOOST_VERSION_NUMBER(0,0,0)
#if defined(__PGI)
+8 -1
View File
@@ -1,5 +1,5 @@
/*
Copyright Redshift Software, Inc. 2008-2010
Copyright Redshift Software, Inc. 2008-2011
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)
@@ -11,6 +11,13 @@ http://www.boost.org/LICENSE_1_0.txt)
#include <boost/predef/version_number.h>
#include <boost/predef/make.h>
/*`
[heading `BOOST_CXX_SGI`]
[@http://en.wikipedia.org/wiki/XXX SGI Mips-pro] compiler.
Version number available as major, minor, and patch.
*/
#define BOOST_CXX_SGI BOOST_VERSION_NUMBER(0,0,0)
#if defined(__sgi)
+8 -1
View File
@@ -1,5 +1,5 @@
/*
Copyright Redshift Software, Inc. 2008-2010
Copyright Redshift Software, Inc. 2008-2011
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)
@@ -11,6 +11,13 @@ http://www.boost.org/LICENSE_1_0.txt)
#include <boost/predef/version_number.h>
#include <boost/predef/make.h>
/*`
[heading `BOOST_CXX_SUNPRO`]
[@http://en.wikipedia.org/wiki/XXX Sun Pro] compiler.
Version number available as major, minor, and patch.
*/
#define BOOST_CXX_SUNPRO BOOST_VERSION_NUMBER(0,0,0)
#if defined(__SUNPRO_CC)
+7 -1
View File
@@ -1,5 +1,5 @@
/*
Copyright Redshift Software, Inc. 2008-2010
Copyright Redshift Software, Inc. 2008-2011
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)
@@ -11,6 +11,12 @@ http://www.boost.org/LICENSE_1_0.txt)
#include <boost/predef/version_number.h>
#include <boost/predef/make.h>
/*`
[heading `BOOST_CXX_TENDRA`]
[@http://en.wikipedia.org/wiki/XXX Tendra] compiler.
*/
#define BOOST_CXX_TENDRA BOOST_VERSION_NUMBER(0,0,0)
#if defined(__TenDRA__)
+8 -1
View File
@@ -1,5 +1,5 @@
/*
Copyright Redshift Software, Inc. 2008-2010
Copyright Redshift Software, Inc. 2008-2011
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)
@@ -11,6 +11,13 @@ http://www.boost.org/LICENSE_1_0.txt)
#include <boost/predef/version_number.h>
#include <boost/predef/make.h>
/*`
[heading `BOOST_CXX_MSVC`]
[@http://en.wikipedia.org/wiki/XXX Microsoft Visual C/C++] compiler.
Version number available as major, minor, and patch.
*/
#define BOOST_CXX_MSVC BOOST_VERSION_NUMBER(0,0,0)
#if defined(_MSC_VER)
+8 -1
View File
@@ -1,5 +1,5 @@
/*
Copyright Redshift Software, Inc. 2008-2010
Copyright Redshift Software, Inc. 2008-2011
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)
@@ -11,6 +11,13 @@ http://www.boost.org/LICENSE_1_0.txt)
#include <boost/predef/version_number.h>
#include <boost/predef/make.h>
/*`
[heading `BOOST_CXX_WATCOM`]
[@http://en.wikipedia.org/wiki/XXX Watcom] compiler.
Version number available as major, and minor.
*/
#define BOOST_CXX_WATCOM BOOST_VERSION_NUMBER(0,0,0)
#if defined(__WATCOMC__)
+2 -2
View File
@@ -14,7 +14,7 @@ http://www.boost.org/LICENSE_1_0.txt)
/*`
[heading `BOOST_LANGUAGE_OBJC`]
Objective C language.
[@http://en.wikipedia.org/wiki/Objective-C Objective-C] language.
*/
#define BOOST_LANGUAGE_OBJC BOOST_VERSION_NUMBER(0,0,0)
@@ -25,6 +25,6 @@ Objective C language.
#endif
#include <boost/predef/detail/test.h>
BOOST_PREDEF_DECLARE_TEST(BOOST_LANGUAGE_OBJC,"Objective C")
BOOST_PREDEF_DECLARE_TEST(BOOST_LANGUAGE_OBJC,"Objective-C")
#endif
+2 -2
View File
@@ -14,8 +14,8 @@ http://www.boost.org/LICENSE_1_0.txt)
/*`
[heading `BOOST_LANGUAGE_STDC`]
Standard C language. If available, the year of the standard
is detected as 0.0.YYYY.
[@http://en.wikipedia.org/wiki/C_(programming_language) Standard C] language.
If available, the year of the standard is detected as 0.0.YYYY.
*/
#define BOOST_LANGUAGE_STDC BOOST_VERSION_NUMBER(0,0,0)
+16 -5
View File
@@ -14,8 +14,19 @@ http://www.boost.org/LICENSE_1_0.txt)
/*`
[heading `BOOST_LANGUAGE_STDCPP`]
Standard C++ language. If available, the year of the standard
is detected as 0.0.YYYY.
[@http://en.wikipedia.org/wiki/C%2B%2B Standard C++] language.
If available, the year of the standard is detected as 0.0.YYYY.
Because of the way the C++ standardization process works the
defined version year will not be the commonly known year standard.
Specifically the defined versions will be:
[table Detected Version Number vs. C++ Standard Year
[[Detected Version Number] [Standard Year] [C++ Standard]]
[[0.0.1997] [1998] [ISO/IEC 14882:1998]]
[[0.0.?] [2003] [ISO/IEC 14882:2003]]
[[0.0.?] [2007] [ISO/IEC TR 19768:2007]]
[[0.0.2011] [2011] [ISO/IEC 14882:2011]]
]
*/
#define BOOST_LANGUAGE_STDCPP BOOST_VERSION_NUMBER(0,0,0)
@@ -35,8 +46,8 @@ BOOST_PREDEF_DECLARE_TEST(BOOST_LANGUAGE_STDCPP,"Standard C++")
/*`
[heading `BOOST_LANGUAGE_STDCPPCLI`]
Standard C++/CLI language. If available, the year of the standard
is detected as 0.0.YYYY.
[@http://en.wikipedia.org/wiki/C%2B%2B/CLI Standard C++/CLI] language.
If available, the year of the standard is detected as 0.0.YYYY.
*/
#define BOOST_LANGUAGE_STDCPPCLI BOOST_VERSION_NUMBER(0,0,0)
@@ -56,7 +67,7 @@ BOOST_PREDEF_DECLARE_TEST(BOOST_LANGUAGE_STDCPPCLI,"Standard C++/CLI")
/*`
[heading `BOOST_LANGUAGE_STDECPP`]
Standard Embedded C++ language.
[@http://en.wikipedia.org/wiki/Embedded_C%2B%2B Standard Embedded C++] language.
*/
#define BOOST_LANGUAGE_STDECPP BOOST_VERSION_NUMBER(0,0,0)
+8 -1
View File
@@ -1,5 +1,5 @@
/*
Copyright Redshift Software, Inc. 2008-2010
Copyright Redshift Software, Inc. 2008-2011
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)
@@ -17,6 +17,13 @@ http://www.boost.org/LICENSE_1_0.txt)
#include <cstddef>
#endif
/*`
[heading `BOOST_LIBC_GNU`]
[@http://en.wikipedia.org/wiki/Glibc GNU glibc] Standard C library.
Version number available as major, and minor.
*/
#define BOOST_LIBC_GNU BOOST_VERSION_NUMBER(0,0,0)
#if defined(__GLIBC__) || defined(__GNU_LIBRARY__)
+8 -1
View File
@@ -1,5 +1,5 @@
/*
Copyright Redshift Software, Inc. 2008-2010
Copyright Redshift Software, Inc. 2008-2011
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)
@@ -11,6 +11,13 @@ http://www.boost.org/LICENSE_1_0.txt)
#include <boost/predef/version_number.h>
#include <boost/predef/make.h>
/*`
[heading `BOOST_LIBC_UC`]
[@http://en.wikipedia.org/wiki/Uclibc uClibc] Standard C library.
Version number available as major, minor, and patch.
*/
#define BOOST_LIBC_UC BOOST_VERSION_NUMBER(0,0,0)
#if defined(__UCLIBC__)
+8 -1
View File
@@ -1,5 +1,5 @@
/*
Copyright Redshift Software, Inc. 2008-2010
Copyright Redshift Software, Inc. 2008-2011
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)
@@ -11,6 +11,13 @@ http://www.boost.org/LICENSE_1_0.txt)
#include <boost/predef/version_number.h>
#include <boost/predef/make.h>
/*`
[heading `BOOST_LIBC_VMS`]
VMS libc Standard C library.
Version number available as major, minor, and patch.
*/
#define BOOST_LIBC_VMS BOOST_VERSION_NUMBER(0,0,0)
#if defined(__CRTL_VER)
+16 -3
View File
@@ -1,5 +1,5 @@
/*
Copyright Redshift Software, Inc. 2008-2010
Copyright Redshift Software, Inc. 2008-2011
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)
@@ -11,14 +11,27 @@ http://www.boost.org/LICENSE_1_0.txt)
#include <boost/predef/version_number.h>
#include <boost/predef/make.h>
/*`
[heading `BOOST_LIBC_ZOS`]
z/OS libc Standard C library.
Version number available as major, minor, and patch.
*/
#define BOOST_LIBC_ZOS BOOST_VERSION_NUMBER(0,0,0)
#if defined(__LIBREL__)
#undef BOOST_LIBC_ZOS
#define BOOST_LIBC_ZOS BOOST_PREDEF_MAKE_F_FF_FFFF(__LIBREL__)
#if defined(__LIBREL__)
#define BOOST_LIBC_ZOS BOOST_PREDEF_MAKE_F_FF_FFFF(__LIBREL__)
#elif defined(__TARGET_LIB__)
#define BOOST_LIBC_ZOS BOOST_PREDEF_MAKE_F_FF_FFFF(__TARGET_LIB__)
#else
#define BOOST_LIBC_ZOS BOOST_VERSION_NUMBER(0,0,1)
#endif
#endif
#include <boost/predef/detail/test.h>
BOOST_PREDEF_DECLARE_TEST(BOOST_LIBC_ZOS,"zOS")
BOOST_PREDEF_DECLARE_TEST(BOOST_LIBC_ZOS,"z/OS")
#endif
+2 -3
View File
@@ -1,7 +1,5 @@
/*
Copyright Redshift Software, Inc. 2008-2010
Copyright John Maddock 2001-2003
Copyright Jens Maurer 2001-2002
Copyright Redshift Software, Inc. 2008-2011
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)
@@ -32,6 +30,7 @@ can end up detecting that first rather than STLport:
/*
The rest in alpha order, except for Dinkumware.
*/
#include <boost/predef/library/std/cxx.h>
#include <boost/predef/library/std/libcomo.h>
#include <boost/predef/library/std/modena.h>
#include <boost/predef/library/std/msl.h>
+31
View File
@@ -0,0 +1,31 @@
/*
Copyright Redshift Software Inc 2011
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/version_number.h>
#include <boost/predef/make.h>
/*`
[heading `BOOST_LIBSTD_CXX`]
[@http://libcxx.llvm.org/ libc++] C++ Standard Library.
If available version number as major, minor, and patch.
*/
#define BOOST_LIBSTD_CXX BOOST_VERSION_NUMBER(0,0,0)
#if defined(_LIBCPP_VERSION)
#undef BOOST_LIBSTD_CXX
#define BOOST_LIBSTD_CXX BOOST_PREDEF_MAKE_NN_NN(__CPPLIB_VER)
#endif
#include <boost/predef/detail/test.h>
BOOST_PREDEF_DECLARE_TEST(BOOST_LIBSTD_CXX,"libc++")
#endif
+8 -1
View File
@@ -1,5 +1,5 @@
/*
Copyright Redshift Software, Inc. 2008-2010
Copyright Redshift Software, Inc. 2008-2011
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)
@@ -11,6 +11,13 @@ http://www.boost.org/LICENSE_1_0.txt)
#include <boost/predef/version_number.h>
#include <boost/predef/make.h>
/*`
[heading `BOOST_LIBSTD_DINKUMWARE`]
[@http://en.wikipedia.org/wiki/Dinkumware Dinkumware] Standard C++ Library.
If available version number as major, minor, and patch.
*/
#define BOOST_LIBSTD_DINKUMWARE BOOST_VERSION_NUMBER(0,0,0)
#if (defined(_YVALS) && !defined(__IBMCPP__)) || defined(_CPPLIB_VER)
+9 -2
View File
@@ -1,5 +1,5 @@
/*
Copyright Redshift Software, Inc. 2008-2010
Copyright Redshift Software, Inc. 2008-2011
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)
@@ -11,6 +11,13 @@ http://www.boost.org/LICENSE_1_0.txt)
#include <boost/predef/version_number.h>
#include <boost/predef/make.h>
/*`
[heading `BOOST_LIBSTD_COMO`]
[@http://www.comeaucomputing.com/libcomo/ Comeau Computing] Standard C++ Library.
Version number available as major.
*/
#define BOOST_LIBSTD_COMO BOOST_VERSION_NUMBER(0,0,0)
#if defined(__LIBCOMO__)
@@ -19,6 +26,6 @@ http://www.boost.org/LICENSE_1_0.txt)
#endif
#include <boost/predef/detail/test.h>
BOOST_PREDEF_DECLARE_TEST(BOOST_LIBSTD_COMO,"Como")
BOOST_PREDEF_DECLARE_TEST(BOOST_LIBSTD_COMO,"Comeau Computing")
#endif
+8 -2
View File
@@ -1,5 +1,5 @@
/*
Copyright Redshift Software, Inc. 2008-2010
Copyright Redshift Software, Inc. 2008-2011
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)
@@ -11,6 +11,12 @@ http://www.boost.org/LICENSE_1_0.txt)
#include <boost/predef/version_number.h>
#include <boost/predef/make.h>
/*`
[heading `BOOST_LIBSTD_MSIPL`]
[@http://modena.us/ Modena Software Lib++] Standard C++ Library.
*/
#define BOOST_LIBSTD_MSIPL BOOST_VERSION_NUMBER(0,0,0)
#if defined(MSIPL_COMPILE_H) || defined(__MSIPL_COMPILE_H)
@@ -19,6 +25,6 @@ http://www.boost.org/LICENSE_1_0.txt)
#endif
#include <boost/predef/detail/test.h>
BOOST_PREDEF_DECLARE_TEST(BOOST_LIBSTD_MSIPL,"Modena MSIPL")
BOOST_PREDEF_DECLARE_TEST(BOOST_LIBSTD_MSIPL,"Modena Software Lib++")
#endif
+8 -1
View File
@@ -1,5 +1,5 @@
/*
Copyright Redshift Software, Inc. 2008-2010
Copyright Redshift Software, Inc. 2008-2011
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)
@@ -11,6 +11,13 @@ http://www.boost.org/LICENSE_1_0.txt)
#include <boost/predef/version_number.h>
#include <boost/predef/make.h>
/*`
[heading `BOOST_LIBSTD_MSL`]
[@http://www.freescale.com/ Metrowerks] Standard C++ Library.
Version number available as major, minor, and patch.
*/
#define BOOST_LIBSTD_MSL BOOST_VERSION_NUMBER(0,0,0)
#if defined(__MSL_CPP__) || defined(__MSL__)
+8 -1
View File
@@ -1,5 +1,5 @@
/*
Copyright Redshift Software, Inc. 2008-2010
Copyright Redshift Software, Inc. 2008-2011
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)
@@ -11,6 +11,13 @@ http://www.boost.org/LICENSE_1_0.txt)
#include <boost/predef/version_number.h>
#include <boost/predef/make.h>
/*`
[heading `BOOST_LIBSTD_RW`]
[@http://en.wikipedia.org/wiki/XXX Roguewave Standard C++] library.
If available version number as major, minor, and patch.
*/
#define BOOST_LIBSTD_RW BOOST_VERSION_NUMBER(0,0,0)
#if defined(__STD_RWCOMPILER_H__) || defined(_RWSTD_VER)
+8 -1
View File
@@ -1,5 +1,5 @@
/*
Copyright Redshift Software, Inc. 2008-2010
Copyright Redshift Software, Inc. 2008-2011
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)
@@ -11,6 +11,13 @@ http://www.boost.org/LICENSE_1_0.txt)
#include <boost/predef/version_number.h>
#include <boost/predef/make.h>
/*`
[heading `BOOST_LIBSTD_SGI`]
[@http://en.wikipedia.org/wiki/XXX SGI Standard C++] library.
If available version number as major, minor, and patch.
*/
#define BOOST_LIBSTD_SGI BOOST_VERSION_NUMBER(0,0,0)
#if defined(__STL_CONFIG_H)
+9 -4
View File
@@ -1,5 +1,5 @@
/*
Copyright Redshift Software, Inc. 2008-2010
Copyright Redshift Software, Inc. 2008-2011
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)
@@ -11,16 +11,21 @@ http://www.boost.org/LICENSE_1_0.txt)
#include <boost/predef/version_number.h>
#include <boost/predef/make.h>
/*`
[heading `BOOST_LIBSTD_GNU`]
[@http://gcc.gnu.org/libstdc++/ GNU libstdc++] Standard C++ library.
Version number available as year (from 1970), month, and day.
*/
#define BOOST_LIBSTD_GNU BOOST_VERSION_NUMBER(0,0,0)
#if defined(__GLIBCPP__) || defined(__GLIBCXX__)
#undef BOOST_LIBSTD_GNU
#if defined(__GLIBCXX__)
#define BOOST_LIBSTD_GNU BOOST_PREDEF_MAKE_YYYY_MM_DD(__GLIBCXX__)
#elif
#define BOOST_LIBSTD_GNU BOOST_PREDEF_MAKE_YYYY_MM_DD(__GLIBCPP__)
#else
#define BOOST_LIBSTD_GNU BOOST_VERSION_NUMBER(0,0,1)
#define BOOST_LIBSTD_GNU BOOST_PREDEF_MAKE_YYYY_MM_DD(__GLIBCPP__)
#endif
#endif
+8 -1
View File
@@ -1,5 +1,5 @@
/*
Copyright Redshift Software, Inc. 2008-2010
Copyright Redshift Software, Inc. 2008-2011
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)
@@ -11,6 +11,13 @@ http://www.boost.org/LICENSE_1_0.txt)
#include <boost/predef/version_number.h>
#include <boost/predef/make.h>
/*`
[heading `BOOST_LIBSTD_STLPORT`]
[@http://en.wikipedia.org/wiki/XXX STLport Standard C++] library.
Version number available as major, minor, and patch.
*/
#define BOOST_LIBSTD_STLPORT BOOST_VERSION_NUMBER(0,0,0)
#if defined(__SGI_STL_PORT) || defined(_STLPORT_VERSION)
+7 -1
View File
@@ -1,5 +1,5 @@
/*
Copyright Redshift Software, Inc. 2008-2010
Copyright Redshift Software, Inc. 2008-2011
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)
@@ -11,6 +11,12 @@ http://www.boost.org/LICENSE_1_0.txt)
#include <boost/predef/version_number.h>
#include <boost/predef/make.h>
/*`
[heading `BOOST_LIBSTD_IBM`]
[@http://en.wikipedia.org/wiki/XXX IBM VACPP Standard C++] library.
*/
#define BOOST_LIBSTD_IBM BOOST_VERSION_NUMBER(0,0,0)
#if defined(__IBMCPP__)
+7
View File
@@ -11,6 +11,13 @@ http://www.boost.org/LICENSE_1_0.txt)
#include <boost/predef/version_number.h>
#include <boost/predef/make.h>
/*`
[heading `BOOST_OS_`]
[@http://en.wikipedia.org/wiki/XXX AIX] operating system.
Version number available as major, minor, and patch.
*/
#define BOOST_OS_AIX BOOST_VERSION_NUMBER(0,0,0)
#if defined(_AIX) || defined(__TOS_AIX__)
+8 -2
View File
@@ -1,5 +1,5 @@
/*
Copyright Redshift Software, Inc. 2008-2010
Copyright Redshift Software, Inc. 2008-2011
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)
@@ -11,6 +11,12 @@ http://www.boost.org/LICENSE_1_0.txt)
#include <boost/predef/version_number.h>
#include <boost/predef/make.h>
/*`
[heading `BOOST_OS_AMIGAOS`]
[@http://en.wikipedia.org/wiki/XXX AmigaOS] operating system.
*/
#define BOOST_OS_AMIGAOS BOOST_VERSION_NUMBER(0,0,0)
#if defined(AMIGA) || defined(__amigaos__)
@@ -19,6 +25,6 @@ http://www.boost.org/LICENSE_1_0.txt)
#endif
#include <boost/predef/detail/test.h>
BOOST_PREDEF_DECLARE_TEST(BOOST_OS_AMIGAOS,"Amiga OS")
BOOST_PREDEF_DECLARE_TEST(BOOST_OS_AMIGAOS,"AmigaOS")
#endif
+7 -1
View File
@@ -1,5 +1,5 @@
/*
Copyright Redshift Software, Inc. 2008-2010
Copyright Redshift Software, Inc. 2008-2011
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)
@@ -11,6 +11,12 @@ http://www.boost.org/LICENSE_1_0.txt)
#include <boost/predef/version_number.h>
#include <boost/predef/make.h>
/*`
[heading `BOOST_OS_BEOS`]
[@http://en.wikipedia.org/wiki/XXX Be] operating system.
*/
#define BOOST_OS_BEOS BOOST_VERSION_NUMBER(0,0,0)
#if defined(__BEOS__)
+23 -4
View File
@@ -1,5 +1,5 @@
/*
Copyright Redshift Software, Inc. 2008-2010
Copyright Redshift Software, Inc. 2008-2011
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)
@@ -11,6 +11,25 @@ http://www.boost.org/LICENSE_1_0.txt)
#include <boost/predef/version_number.h>
#include <boost/predef/make.h>
/*`
[heading `BOOST_OS_BSD`]
[@http://en.wikipedia.org/wiki/XXX BSD] operating system.
BSD has various branch operating systems possible and each detected
individually. This detects the following variations and sets a specific
version number macro to match:
* `BOOST_OS_DRAGONFLY_BSD` [@http://en.wikipedia.org/wiki/XXX Dragonfly BSD]
* `BOOST_OS_FREE_BSD` [@http://en.wikipedia.org/wiki/XXX Free BSD]
* `BOOST_OS_BSDI_BSD` [@http://en.wikipedia.org/wiki/XXX BSDI]
* `BOOST_OS_NET_BSD` [@http://en.wikipedia.org/wiki/XXX Net BSD]
* `BOOST_OS_OPEN_BSD` [@http://en.wikipedia.org/wiki/XXX Open BSD]
[note The general `BOOST_OS_BSD` is set in all cases to indicate some form
of BSD. If the above variants is detected the corresponding macro is also set.]
*/
#define BOOST_OS_BSD BOOST_VERSION_NUMBER(0,0,0)
#define BOOST_OS_DRAGONFLY_BSD BOOST_VERSION_NUMBER(0,0,0)
#define BOOST_OS_FREE_BSD BOOST_VERSION_NUMBER(0,0,0)
@@ -49,10 +68,10 @@ http://www.boost.org/LICENSE_1_0.txt)
#if defined(__FreeBSD_version)
#if __FreeBSD_version < 500000
#define BOOST_OS_FREE_BSD \
BOOST_PREDEF_VRP_N_N_N_000(__FreeBSD_version)
BOOST_PREDEF_MAKE_N_N_N_000(__FreeBSD_version)
#else
#define BOOST_OS_FREE_BSD \
BOOST_PREDEF_VRP_N_NN_000(__FreeBSD_version)
BOOST_PREDEF_MAKE_N_NN_000(__FreeBSD_version)
#endif
#else
#define BOOST_OS_FREE_BSD BOOST_VERSION_NUMBER(0,0,1)
@@ -67,7 +86,7 @@ http://www.boost.org/LICENSE_1_0.txt)
#define BOOST_OS_NET_BSD BOOST_VERSION_NUMBER(1,0,0)
#elif defined(__NetBSD_Version)
#define BOOST_OS_NET_BSD \
BOOST_PREDEF_VRP_NN_NN_00_NN_00(__NetBSD_Version)
BOOST_PREDEF_MAKE_NN_NN_00_NN_00(__NetBSD_Version)
#else
#define BOOST_OS_NET_BSD BOOST_VERSION_NUMBER(0,0,1)
#endif
+5 -5
View File
@@ -10,7 +10,7 @@ http://www.boost.org/LICENSE_1_0.txt)
#define BOOST_PREDEF_VERSION_NUMBER_H
/*`
[heading BOOST_VERSION_NUMBER]
[heading `BOOST_VERSION_NUMBER`]
``
BOOST_VERSION_NUMBER(major,minor,patch)
@@ -18,12 +18,12 @@ BOOST_VERSION_NUMBER(major,minor,patch)
Defines standard version numbers, with these properties:
* Decimal base whole numbers in the range [0,major*10000000].
* Decimal base whole numbers in the range \[0,1000000000).
The number range is designed to allow for a (2,2,5) triplet.
Which fits within a 32 bit value.
* The `major` number can be in the [0,99] range.
* The `minor` number can be in the [0,99] range.
* The `patch` number can be in the [0,99999] range.
* The `major` number can be in the \[0,99\] range.
* The `minor` number can be in the \[0,99\] range.
* The `patch` number can be in the \[0,99999\] range.
* Values can be specified in any base. As the defined value
is an constant expression.
* Value can be directly used in both preprocessor and compiler