forked from boostorg/predef
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:
1 parent
5513bc2b02
commit
45df001094
99 files changed
+3214
-129
No files matched your search
@@ -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__)
|
||||
|
||||
@@ -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
|
||||
@@ -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
@@ -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
|
||||
|
||||
Reference in new issue
Block a user