forked from boostorg/predef
Restructure the project to match new modular layout.
This commit is contained in:
1 parent
7f08aede99
commit
dbb5965186
150 files changed
+5
-4
No files matched your search
@@ -0,0 +1,52 @@
|
||||
/*
|
||||
Copyright Redshift Software, Inc. 2008-2012
|
||||
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_OS_AIX_H
|
||||
#define BOOST_PREDEF_OS_AIX_H
|
||||
|
||||
#include <boost/predef/version_number.h>
|
||||
#include <boost/predef/make.h>
|
||||
|
||||
/*`
|
||||
[heading `BOOST_OS_AIX`]
|
||||
|
||||
[@http://en.wikipedia.org/wiki/AIX_operating_system IBM AIX] operating system.
|
||||
Version number available as major, minor, and patch.
|
||||
|
||||
[table
|
||||
[[__predef_symbol__] [__predef_version__]]
|
||||
|
||||
[[``] [__predef_detection__]]
|
||||
|
||||
[[``] [V.R.P]]
|
||||
]
|
||||
*/
|
||||
|
||||
#define BOOST_OS_AIX BOOST_VERSION_NUMBER(0,0,0)
|
||||
|
||||
#if defined(_AIX) || defined(__TOS_AIX__)
|
||||
# undef BOOST_OS_AIX
|
||||
# if defined(_AIX43)
|
||||
# define BOOST_OS_AIX BOOST_VERSION_NUMBER(4,3,0)
|
||||
# elif defined(_AIX41)
|
||||
# define BOOST_OS_AIX BOOST_VERSION_NUMBER(4,1,0)
|
||||
# elif defined(_AIX32)
|
||||
# define BOOST_OS_AIX BOOST_VERSION_NUMBER(3,2,0)
|
||||
# elif defined(_AIX3)
|
||||
# define BOOST_OS_AIX BOOST_VERSION_NUMBER(3,0,0)
|
||||
# else
|
||||
# define BOOST_OS_AIX BOOST_VERSION_NUMBER(0,0,1)
|
||||
# endif
|
||||
#endif
|
||||
|
||||
#define BOOST_OS_AIX_NAME "IBM AIX"
|
||||
|
||||
#include <boost/predef/detail/test.h>
|
||||
BOOST_PREDEF_DECLARE_TEST(BOOST_OS_AIX,BOOST_OS_AIX_NAME)
|
||||
|
||||
|
||||
#endif
|
||||
@@ -0,0 +1,41 @@
|
||||
/*
|
||||
Copyright Redshift Software, Inc. 2008-2012
|
||||
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_OS_AMIGAOS_H
|
||||
#define BOOST_PREDEF_OS_AMIGAOS_H
|
||||
|
||||
#include <boost/predef/version_number.h>
|
||||
#include <boost/predef/make.h>
|
||||
|
||||
/*`
|
||||
[heading `BOOST_OS_AMIGAOS`]
|
||||
|
||||
[@http://en.wikipedia.org/wiki/AmigaOS AmigaOS] operating system.
|
||||
|
||||
[table
|
||||
[[__predef_symbol__] [__predef_version__]]
|
||||
|
||||
[[``] [__predef_detection__]]
|
||||
|
||||
[[``] [V.R.P]]
|
||||
]
|
||||
*/
|
||||
|
||||
#define BOOST_OS_AMIGAOS BOOST_VERSION_NUMBER(0,0,0)
|
||||
|
||||
#if defined(AMIGA) || defined(__amigaos__)
|
||||
# undef BOOST_OS_AMIGAOS
|
||||
# define BOOST_OS_AMIGAOS BOOST_VERSION_NUMBER(0,0,1)
|
||||
#endif
|
||||
|
||||
#define BOOST_OS_AMIGAOS_NAME "AmigaOS"
|
||||
|
||||
#include <boost/predef/detail/test.h>
|
||||
BOOST_PREDEF_DECLARE_TEST(BOOST_OS_AMIGAOS,BOOST_OS_AMIGAOS_NAME)
|
||||
|
||||
|
||||
#endif
|
||||
@@ -0,0 +1,41 @@
|
||||
/*
|
||||
Copyright Redshift Software, Inc. 2008-2012
|
||||
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_OS_BEOS_H
|
||||
#define BOOST_PREDEF_OS_BEOS_H
|
||||
|
||||
#include <boost/predef/version_number.h>
|
||||
#include <boost/predef/make.h>
|
||||
|
||||
/*`
|
||||
[heading `BOOST_OS_BEOS`]
|
||||
|
||||
[@http://en.wikipedia.org/wiki/BeOS BeOS] operating system.
|
||||
|
||||
[table
|
||||
[[__predef_symbol__] [__predef_version__]]
|
||||
|
||||
[[``] [__predef_detection__]]
|
||||
|
||||
[[``] [V.R.P]]
|
||||
]
|
||||
*/
|
||||
|
||||
#define BOOST_OS_BEOS BOOST_VERSION_NUMBER(0,0,0)
|
||||
|
||||
#if defined(__BEOS__)
|
||||
# undef BOOST_OS_BEOS
|
||||
# define BOOST_OS_BEOS BOOST_VERSION_NUMBER(0,0,1)
|
||||
#endif
|
||||
|
||||
#define BOOST_OS_BEOS_NAME "BeOS"
|
||||
|
||||
#include <boost/predef/detail/test.h>
|
||||
BOOST_PREDEF_DECLARE_TEST(BOOST_OS_BEOS,BOOST_OS_BEOS_NAME)
|
||||
|
||||
|
||||
#endif
|
||||
@@ -0,0 +1,71 @@
|
||||
/*
|
||||
Copyright Redshift Software, Inc. 2008-2012
|
||||
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_OS_BSD_H
|
||||
#define BOOST_PREDEF_OS_BSD_H
|
||||
|
||||
#include <boost/predef/version_number.h>
|
||||
#include <boost/predef/make.h>
|
||||
|
||||
/*`
|
||||
[heading `BOOST_OS_BSD`]
|
||||
|
||||
[@http://en.wikipedia.org/wiki/Berkeley_Software_Distribution 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_BSD_DRAGONFLY` [@http://en.wikipedia.org/wiki/DragonFly_BSD DragonFly BSD]
|
||||
* `BOOST_OS_BSD_FREE` [@http://en.wikipedia.org/wiki/Freebsd FreeBSD]
|
||||
* `BOOST_OS_BSD_BSDI` [@http://en.wikipedia.org/wiki/BSD/OS BSDi BSD/OS]
|
||||
* `BOOST_OS_BSD_NET` [@http://en.wikipedia.org/wiki/Netbsd NetBSD]
|
||||
* `BOOST_OS_BSD_OPEN` [@http://en.wikipedia.org/wiki/Openbsd OpenBSD]
|
||||
|
||||
[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.]
|
||||
|
||||
[table
|
||||
[[__predef_symbol__] [__predef_version__]]
|
||||
|
||||
[[``] [__predef_detection__]]
|
||||
|
||||
[[``] [V.R.P]]
|
||||
]
|
||||
*/
|
||||
|
||||
#define BOOST_OS_BSD BOOST_VERSION_NUMBER(0,0,0)
|
||||
|
||||
#if defined(BSD) || \
|
||||
defined(_SYSTYPE_BSD)
|
||||
# undef BOOST_OS_BSD
|
||||
# include <sys/param.h>
|
||||
# if defined(BSD4_2)
|
||||
# define BOOST_OS_BSD BOOST_VERSION_NUMBER(4,2,0)
|
||||
# elif defined(BSD4_3)
|
||||
# define BOOST_OS_BSD BOOST_VERSION_NUMBER(4,3,0)
|
||||
# elif defined(BSD4_4)
|
||||
# define BOOST_OS_BSD BOOST_VERSION_NUMBER(4,4,0)
|
||||
# elif defined(BSD)
|
||||
# define BOOST_OS_BSD BOOST_PREDEF_MAKE_10_VVRR(BSD)
|
||||
# else
|
||||
# define BOOST_OS_BSD BOOST_VERSION_NUMBER(0,0,1)
|
||||
# endif
|
||||
#endif
|
||||
|
||||
#define BOOST_OS_BSD_NAME "BSD"
|
||||
|
||||
#include <boost/predef/detail/test.h>
|
||||
BOOST_PREDEF_DECLARE_TEST(BOOST_OS_BSD,BOOST_OS_BSD_NAME)
|
||||
|
||||
#include <boost/predef/os/bsd/bsdi.h>
|
||||
#include <boost/predef/os/bsd/dragonfly.h>
|
||||
#include <boost/predef/os/bsd/free.h>
|
||||
#include <boost/predef/os/bsd/open.h>
|
||||
#include <boost/predef/os/bsd/net.h>
|
||||
|
||||
#endif
|
||||
@@ -0,0 +1,37 @@
|
||||
/*
|
||||
Copyright Redshift Software, Inc. 2012
|
||||
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_OS_BSD_BSDI_H
|
||||
#define BOOST_PREDEF_OS_BSD_BSDI_H
|
||||
|
||||
/*`
|
||||
|
||||
[table
|
||||
[[__predef_symbol__] [__predef_version__]]
|
||||
|
||||
[[``] [__predef_detection__]]
|
||||
|
||||
[[``] [V.R.P]]
|
||||
]
|
||||
*/
|
||||
|
||||
#define BOOST_OS_BSD_BSDI BOOST_VERSION_NUMBER(0,0,0)
|
||||
|
||||
#if defined(__bsdi__)
|
||||
# ifndef BOOST_OS_BSD
|
||||
# define BOOST_OS_BSD BOOST_VERSION_NUMBER(0,0,1)
|
||||
# endif
|
||||
# undef BOOST_OS_BSD_BSDI
|
||||
# define BOOST_OS_BSD_BSDI BOOST_VERSION_NUMBER(0,0,1)
|
||||
#endif
|
||||
|
||||
#define BOOST_OS_BSD_BSDI_NAME "BSDi BSD/OS"
|
||||
|
||||
#include <boost/predef/detail/test.h>
|
||||
BOOST_PREDEF_DECLARE_TEST(BOOST_OS_BSD_BSDI,BOOST_OS_BSD_BSDI_NAME)
|
||||
|
||||
#endif
|
||||
@@ -0,0 +1,39 @@
|
||||
/*
|
||||
Copyright Redshift Software, Inc. 2012
|
||||
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_OS_BSD_DRAGONFLY_H
|
||||
#define BOOST_PREDEF_OS_BSD_DRAGONFLY_H
|
||||
|
||||
/*`
|
||||
|
||||
[table
|
||||
[[__predef_symbol__] [__predef_version__]]
|
||||
|
||||
[[``] [__predef_detection__]]
|
||||
|
||||
[[``] [V.R.P]]
|
||||
]
|
||||
*/
|
||||
|
||||
#define BOOST_OS_BSD_DRAGONFLY BOOST_VERSION_NUMBER(0,0,0)
|
||||
|
||||
#if defined(__DragonFly__)
|
||||
# ifndef BOOST_OS_BSD
|
||||
# define BOOST_OS_BSD BOOST_VERSION_NUMBER(0,0,1)
|
||||
# endif
|
||||
# undef BOOST_OS_BSD_DRAGONFLY
|
||||
# if defined(__DragonFly__)
|
||||
# define BOOST_OS_DRAGONFLY_BSD BOOST_VERSION_NUMBER(0,0,1)
|
||||
# endif
|
||||
#endif
|
||||
|
||||
#define BOOST_OS_BSD_DRAGONFLY_NAME "DragonFly BSD"
|
||||
|
||||
#include <boost/predef/detail/test.h>
|
||||
BOOST_PREDEF_DECLARE_TEST(BOOST_OS_BSD_DRAGONFLY,BOOST_OS_BSD_DRAGONFLY_NAME)
|
||||
|
||||
#endif
|
||||
@@ -0,0 +1,47 @@
|
||||
/*
|
||||
Copyright Redshift Software, Inc. 2012
|
||||
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_OS_BSD_FREE_H
|
||||
#define BOOST_PREDEF_OS_BSD_FREE_H
|
||||
|
||||
/*`
|
||||
|
||||
[table
|
||||
[[__predef_symbol__] [__predef_version__]]
|
||||
|
||||
[[``] [__predef_detection__]]
|
||||
|
||||
[[``] [V.R.P]]
|
||||
]
|
||||
*/
|
||||
|
||||
#define BOOST_OS_BSD_FREE BOOST_VERSION_NUMBER(0,0,0)
|
||||
|
||||
#if defined(__FreeBSD__)
|
||||
# ifndef BOOST_OS_BSD
|
||||
# define BOOST_OS_BSD BOOST_VERSION_NUMBER(0,0,1)
|
||||
# endif
|
||||
# undef BOOST_OS_BSD_FREE
|
||||
# if defined(__FreeBSD_version)
|
||||
# if __FreeBSD_version < 500000
|
||||
# define BOOST_OS_BSD_FREE \
|
||||
BOOST_PREDEF_MAKE_10_VRP000(__FreeBSD_version)
|
||||
# else
|
||||
# define BOOST_OS_BSD_FREE \
|
||||
BOOST_PREDEF_MAKE_10_VRR000(__FreeBSD_version)
|
||||
# endif
|
||||
# else
|
||||
# define BOOST_OS_BSD_FREE BOOST_VERSION_NUMBER(0,0,1)
|
||||
# endif
|
||||
#endif
|
||||
|
||||
#define BOOST_OS_BSD_FREE_NAME "Free BSD"
|
||||
|
||||
#include <boost/predef/detail/test.h>
|
||||
BOOST_PREDEF_DECLARE_TEST(BOOST_OS_BSD_FREE,BOOST_OS_BSD_FREE_NAME)
|
||||
|
||||
#endif
|
||||
@@ -0,0 +1,62 @@
|
||||
/*
|
||||
Copyright Redshift Software, Inc. 2012
|
||||
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_OS_BSD_NET_H
|
||||
#define BOOST_PREDEF_OS_BSD_NET_H
|
||||
|
||||
/*`
|
||||
|
||||
[table
|
||||
[[__predef_symbol__] [__predef_version__]]
|
||||
|
||||
[[``] [__predef_detection__]]
|
||||
|
||||
[[``] [V.R.P]]
|
||||
]
|
||||
*/
|
||||
|
||||
#define BOOST_OS_BSD_NET BOOST_VERSION_NUMBER(0,0,0)
|
||||
|
||||
#if defined(__NETBSD__) || defined(__NetBSD__)
|
||||
# ifndef BOOST_OS_BSD
|
||||
# define BOOST_OS_BSD BOOST_VERSION_NUMBER(0,0,1)
|
||||
# endif
|
||||
# undef BOOST_OS_BSD_NET
|
||||
# if defined(__NETBSD__)
|
||||
# if defined(__NETBSD_version)
|
||||
# if __NETBSD_version < 500000
|
||||
# define BOOST_OS_BSD_NET \
|
||||
BOOST_PREDEF_MAKE_10_VRP000(__NETBSD_version)
|
||||
# else
|
||||
# define BOOST_OS_BSD_NET \
|
||||
BOOST_PREDEF_MAKE_10_VRR000(__NETBSD_version)
|
||||
# endif
|
||||
# else
|
||||
# define BOOST_OS_BSD_NET BOOST_VERSION_NUMBER(0,0,1)
|
||||
# endif
|
||||
# elif defined(__NetBSD__)
|
||||
# if defined(NetBSD0_8)
|
||||
# define BOOST_OS_BSD_NET BOOST_VERSION_NUMBER(0,8,0)
|
||||
# elif defined(NetBSD0_9)
|
||||
# define BOOST_OS_BSD_NET BOOST_VERSION_NUMBER(0,9,0)
|
||||
# elif defined(NetBSD1_0)
|
||||
# define BOOST_OS_BSD_NET BOOST_VERSION_NUMBER(1,0,0)
|
||||
# elif defined(__NetBSD_Version)
|
||||
# define BOOST_OS_BSD_NET \
|
||||
BOOST_PREDEF_MAKE_10_VVRR00PP00(__NetBSD_Version)
|
||||
# else
|
||||
# define BOOST_OS_BSD_NET BOOST_VERSION_NUMBER(0,0,1)
|
||||
# endif
|
||||
# endif
|
||||
#endif
|
||||
|
||||
#define BOOST_OS_BSD_NET_NAME "DragonFly BSD"
|
||||
|
||||
#include <boost/predef/detail/test.h>
|
||||
BOOST_PREDEF_DECLARE_TEST(BOOST_OS_BSD_NET,BOOST_OS_BSD_NET_NAME)
|
||||
|
||||
#endif
|
||||
@@ -0,0 +1,87 @@
|
||||
/*
|
||||
Copyright Redshift Software, Inc. 2012
|
||||
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_OS_BSD_OPEN_H
|
||||
#define BOOST_PREDEF_OS_BSD_OPEN_H
|
||||
|
||||
/*`
|
||||
|
||||
[table
|
||||
[[__predef_symbol__] [__predef_version__]]
|
||||
|
||||
[[``] [__predef_detection__]]
|
||||
|
||||
[[``] [V.R.P]]
|
||||
]
|
||||
*/
|
||||
|
||||
#define BOOST_OS_BSD_OPEN BOOST_VERSION_NUMBER(0,0,0)
|
||||
|
||||
#if defined(__OpenBSD__)
|
||||
# ifndef BOOST_OS_BSD
|
||||
# define BOOST_OS_BSD BOOST_VERSION_NUMBER(0,0,1)
|
||||
# endif
|
||||
# undef BOOST_OS_BSD_OPEN
|
||||
# if defined(OpenBSD2_0)
|
||||
# define BOOST_OS_BSD_OPEN BOOST_VERSION_NUMBER(2,0,0)
|
||||
# elif defined(OpenBSD2_1)
|
||||
# define BOOST_OS_BSD_OPEN BOOST_VERSION_NUMBER(2,1,0)
|
||||
# elif defined(OpenBSD2_2)
|
||||
# define BOOST_OS_BSD_OPEN BOOST_VERSION_NUMBER(2,2,0)
|
||||
# elif defined(OpenBSD2_3)
|
||||
# define BOOST_OS_BSD_OPEN BOOST_VERSION_NUMBER(2,3,0)
|
||||
# elif defined(OpenBSD2_4)
|
||||
# define BOOST_OS_BSD_OPEN BOOST_VERSION_NUMBER(2,4,0)
|
||||
# elif defined(OpenBSD2_5)
|
||||
# define BOOST_OS_BSD_OPEN BOOST_VERSION_NUMBER(2,5,0)
|
||||
# elif defined(OpenBSD2_6)
|
||||
# define BOOST_OS_BSD_OPEN BOOST_VERSION_NUMBER(2,6,0)
|
||||
# elif defined(OpenBSD2_7)
|
||||
# define BOOST_OS_BSD_OPEN BOOST_VERSION_NUMBER(2,7,0)
|
||||
# elif defined(OpenBSD2_8)
|
||||
# define BOOST_OS_BSD_OPEN BOOST_VERSION_NUMBER(2,8,0)
|
||||
# elif defined(OpenBSD2_9)
|
||||
# define BOOST_OS_BSD_OPEN BOOST_VERSION_NUMBER(2,9,0)
|
||||
# elif defined(OpenBSD3_0)
|
||||
# define BOOST_OS_BSD_OPEN BOOST_VERSION_NUMBER(3,0,0)
|
||||
# elif defined(OpenBSD3_1)
|
||||
# define BOOST_OS_BSD_OPEN BOOST_VERSION_NUMBER(3,1,0)
|
||||
# elif defined(OpenBSD3_2)
|
||||
# define BOOST_OS_BSD_OPEN BOOST_VERSION_NUMBER(3,2,0)
|
||||
# elif defined(OpenBSD3_3)
|
||||
# define BOOST_OS_BSD_OPEN BOOST_VERSION_NUMBER(3,3,0)
|
||||
# elif defined(OpenBSD3_4)
|
||||
# define BOOST_OS_BSD_OPEN BOOST_VERSION_NUMBER(3,4,0)
|
||||
# elif defined(OpenBSD3_5)
|
||||
# define BOOST_OS_BSD_OPEN BOOST_VERSION_NUMBER(3,5,0)
|
||||
# elif defined(OpenBSD3_6)
|
||||
# define BOOST_OS_BSD_OPEN BOOST_VERSION_NUMBER(3,6,0)
|
||||
# elif defined(OpenBSD3_7)
|
||||
# define BOOST_OS_BSD_OPEN BOOST_VERSION_NUMBER(3,7,0)
|
||||
# elif defined(OpenBSD3_8)
|
||||
# define BOOST_OS_BSD_OPEN BOOST_VERSION_NUMBER(3,8,0)
|
||||
# elif defined(OpenBSD3_9)
|
||||
# define BOOST_OS_BSD_OPEN BOOST_VERSION_NUMBER(3,9,0)
|
||||
# elif defined(OpenBSD4_0)
|
||||
# define BOOST_OS_BSD_OPEN BOOST_VERSION_NUMBER(4,0,0)
|
||||
# elif defined(OpenBSD4_1)
|
||||
# define BOOST_OS_BSD_OPEN BOOST_VERSION_NUMBER(4,1,0)
|
||||
# elif defined(OpenBSD4_2)
|
||||
# define BOOST_OS_BSD_OPEN BOOST_VERSION_NUMBER(4,2,0)
|
||||
# elif defined(OpenBSD4_3)
|
||||
# define BOOST_OS_BSD_OPEN BOOST_VERSION_NUMBER(4,3,0)
|
||||
# else
|
||||
# define BOOST_OS_BSD_OPEN BOOST_VERSION_NUMBER(0,0,1)
|
||||
# endif
|
||||
#endif
|
||||
|
||||
#define BOOST_OS_BSD_OPEN_NAME "OpenBSD"
|
||||
|
||||
#include <boost/predef/detail/test.h>
|
||||
BOOST_PREDEF_DECLARE_TEST(BOOST_OS_BSD_OPEN,BOOST_OS_BSD_OPEN_NAME)
|
||||
|
||||
#endif
|
||||
@@ -0,0 +1,41 @@
|
||||
/*
|
||||
Copyright Redshift Software, Inc. 2008-2012
|
||||
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_OS_CYGWIN_H
|
||||
#define BOOST_PREDEF_OS_CYGWIN_H
|
||||
|
||||
#include <boost/predef/version_number.h>
|
||||
#include <boost/predef/make.h>
|
||||
|
||||
/*`
|
||||
[heading `BOOST_OS_CYGWIN`]
|
||||
|
||||
[@http://en.wikipedia.org/wiki/Cygwin Cygwin] evironment.
|
||||
|
||||
[table
|
||||
[[__predef_symbol__] [__predef_version__]]
|
||||
|
||||
[[``] [__predef_detection__]]
|
||||
|
||||
[[``] [V.R.P]]
|
||||
]
|
||||
*/
|
||||
|
||||
#define BOOST_OS_CYGWIN BOOST_VERSION_NUMBER(0,0,0)
|
||||
|
||||
#if defined(__CYGWIN__)
|
||||
# undef BOOST_OS_CYGWIN
|
||||
# define BOOST_OS_CGYWIN BOOST_VERSION_NUMBER(0,0,1)
|
||||
#endif
|
||||
|
||||
#define BOOST_OS_CYGWIN_NAME "Cygwin"
|
||||
|
||||
#include <boost/predef/detail/test.h>
|
||||
BOOST_PREDEF_DECLARE_TEST(BOOST_OS_CYGWIN,BOOST_OS_CYGWIN_NAME)
|
||||
|
||||
|
||||
#endif
|
||||
@@ -0,0 +1,41 @@
|
||||
/*
|
||||
Copyright Redshift Software, Inc. 2008-2012
|
||||
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_OS_HPUX_H
|
||||
#define BOOST_PREDEF_OS_HPUX_H
|
||||
|
||||
#include <boost/predef/version_number.h>
|
||||
#include <boost/predef/make.h>
|
||||
|
||||
/*`
|
||||
[heading `BOOST_OS_HPUX`]
|
||||
|
||||
[@http://en.wikipedia.org/wiki/HP-UX HP-UX] operating system.
|
||||
|
||||
[table
|
||||
[[__predef_symbol__] [__predef_version__]]
|
||||
|
||||
[[``] [__predef_detection__]]
|
||||
|
||||
[[``] [V.R.P]]
|
||||
]
|
||||
*/
|
||||
|
||||
#define BOOST_OS_HPUX BOOST_VERSION_NUMBER(0,0,0)
|
||||
|
||||
#if defined(hpux) || defined(_hpux) || defined(__hpux)
|
||||
# undef BOOST_OS_HPUX
|
||||
# define BOOST_OS_HPUX BOOST_VERSION_NUMBER(0,0,1)
|
||||
#endif
|
||||
|
||||
#define BOOST_OS_HPUX_NAME "HP-UX"
|
||||
|
||||
#include <boost/predef/detail/test.h>
|
||||
BOOST_PREDEF_DECLARE_TEST(BOOST_OS_HPUX,BOOST_OS_HPUX_NAME)
|
||||
|
||||
|
||||
#endif
|
||||
@@ -0,0 +1,41 @@
|
||||
/*
|
||||
Copyright Redshift Software, Inc. 2008-2012
|
||||
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_OS_IRIX_H
|
||||
#define BOOST_PREDEF_OS_IRIX_H
|
||||
|
||||
#include <boost/predef/version_number.h>
|
||||
#include <boost/predef/make.h>
|
||||
|
||||
/*`
|
||||
[heading `BOOST_OS_IRIX`]
|
||||
|
||||
[@http://en.wikipedia.org/wiki/Irix IRIX] operating system.
|
||||
|
||||
[table
|
||||
[[__predef_symbol__] [__predef_version__]]
|
||||
|
||||
[[``] [__predef_detection__]]
|
||||
|
||||
[[``] [V.R.P]]
|
||||
]
|
||||
*/
|
||||
|
||||
#define BOOST_OS_IRIX BOOST_VERSION_NUMBER(0,0,0)
|
||||
|
||||
#if defined(sgi) || defined(__sgi)
|
||||
# undef BOOST_OS_IRIX
|
||||
# define BOOST_OS_IRIX BOOST_VERSION_NUMBER(0,0,1)
|
||||
#endif
|
||||
|
||||
#define BOOST_OS_IRIX_NAME "IRIX"
|
||||
|
||||
#include <boost/predef/detail/test.h>
|
||||
BOOST_PREDEF_DECLARE_TEST(BOOST_OS_IRIX,BOOST_OS_IRIX_NAME)
|
||||
|
||||
|
||||
#endif
|
||||
@@ -0,0 +1,41 @@
|
||||
/*
|
||||
Copyright Redshift Software, Inc. 2008-2012
|
||||
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_OS_LINUX_H
|
||||
#define BOOST_PREDEF_OS_LINUX_H
|
||||
|
||||
#include <boost/predef/version_number.h>
|
||||
#include <boost/predef/make.h>
|
||||
|
||||
/*`
|
||||
[heading `BOOST_OS_LINUX`]
|
||||
|
||||
[@http://en.wikipedia.org/wiki/Linux Linux] operating system.
|
||||
|
||||
[table
|
||||
[[__predef_symbol__] [__predef_version__]]
|
||||
|
||||
[[``] [__predef_detection__]]
|
||||
|
||||
[[``] [V.R.P]]
|
||||
]
|
||||
*/
|
||||
|
||||
#define BOOST_OS_LINUX BOOST_VERSION_NUMBER(0,0,0)
|
||||
|
||||
#if defined(linux) || defined(__linux)
|
||||
# undef BOOST_OS_LINUX
|
||||
# define BOOST_OS_LINUX BOOST_VERSION_NUMBER(0,0,1)
|
||||
#endif
|
||||
|
||||
#define BOOST_OS_LINUX_NAME "Linux"
|
||||
|
||||
#include <boost/predef/detail/test.h>
|
||||
BOOST_PREDEF_DECLARE_TEST(BOOST_OS_LINUX,BOOST_OS_LINUX_NAME)
|
||||
|
||||
|
||||
#endif
|
||||
@@ -0,0 +1,48 @@
|
||||
/*
|
||||
Copyright Redshift Software, Inc. 2008-2012
|
||||
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_OS_MACOS_H
|
||||
#define BOOST_PREDEF_OS_MACOS_H
|
||||
|
||||
#include <boost/predef/version_number.h>
|
||||
#include <boost/predef/make.h>
|
||||
|
||||
/*`
|
||||
[heading `BOOST_OS_MACOS`]
|
||||
|
||||
[@http://en.wikipedia.org/wiki/Mac_OS Mac OS] operating system.
|
||||
Versions \[9-10\] are specifically detected.
|
||||
|
||||
[table
|
||||
[[__predef_symbol__] [__predef_version__]]
|
||||
|
||||
[[``] [__predef_detection__]]
|
||||
|
||||
[[``] [V.R.P]]
|
||||
]
|
||||
*/
|
||||
|
||||
#define BOOST_OS_MACOS BOOST_VERSION_NUMBER(0,0,0)
|
||||
|
||||
#if defined(macintosh) || defined(Macintosh) || \
|
||||
(defined(__APPLE__) && defined(__MACH__))
|
||||
# undef BOOST_OS_MACOS
|
||||
# if !defined(BOOST_OS_MACOS) && defined(__APPLE__) && defined(__MACH__)
|
||||
# define BOOST_OS_MACOS BOOST_VERSION_NUMBER(10,0,0)
|
||||
# endif
|
||||
# if !defined(BOOST_OS_MACOS)
|
||||
# define BOOST_OS_MACOS BOOST_VERSION_NUMBER(9,0,0)
|
||||
# endif
|
||||
#endif
|
||||
|
||||
#define BOOST_OS_MACOS_NAME "Mac OS"
|
||||
|
||||
#include <boost/predef/detail/test.h>
|
||||
BOOST_PREDEF_DECLARE_TEST(BOOST_OS_MACOS,BOOST_OS_MACOS_NAME)
|
||||
|
||||
|
||||
#endif
|
||||
@@ -0,0 +1,41 @@
|
||||
/*
|
||||
Copyright Redshift Software Inc 2011-2012
|
||||
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_OS_OS400_H
|
||||
#define BOOST_PREDEF_OS_OS400_H
|
||||
|
||||
#include <boost/predef/version_number.h>
|
||||
#include <boost/predef/make.h>
|
||||
|
||||
/*`
|
||||
[heading `BOOST_OS_OS400`]
|
||||
|
||||
[@http://en.wikipedia.org/wiki/IBM_i IBM OS/400] operating system.
|
||||
|
||||
[table
|
||||
[[__predef_symbol__] [__predef_version__]]
|
||||
|
||||
[[``] [__predef_detection__]]
|
||||
|
||||
[[``] [V.R.P]]
|
||||
]
|
||||
*/
|
||||
|
||||
#define BOOST_OS_OS400 BOOST_VERSION_NUMBER(0,0,0)
|
||||
|
||||
#if defined(__OS400__)
|
||||
# undef BOOST_OS_OS400
|
||||
# define BOOST_OS_OS400 BOOST_VERSION_NUMBER(0,0,1)
|
||||
#endif
|
||||
|
||||
#define BOOST_OS_OS400_NAME "IBM OS/400"
|
||||
|
||||
#include <boost/predef/detail/test.h>
|
||||
BOOST_PREDEF_DECLARE_TEST(BOOST_OS_OS400,BOOST_OS_OS400_NAME)
|
||||
|
||||
|
||||
#endif
|
||||
@@ -0,0 +1,49 @@
|
||||
/*
|
||||
Copyright Redshift Software, Inc. 2008-2012
|
||||
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_OS_QNXNTO_H
|
||||
#define BOOST_PREDEF_OS_QNXNTO_H
|
||||
|
||||
#include <boost/predef/version_number.h>
|
||||
#include <boost/predef/make.h>
|
||||
|
||||
/*`
|
||||
[heading `BOOST_OS_QNX`]
|
||||
|
||||
[@http://en.wikipedia.org/wiki/QNX QNX] operating system.
|
||||
Version number available as major, and minor if possible. And
|
||||
version 4 is specifically detected.
|
||||
|
||||
[table
|
||||
[[__predef_symbol__] [__predef_version__]]
|
||||
|
||||
[[``] [__predef_detection__]]
|
||||
|
||||
[[``] [V.R.P]]
|
||||
]
|
||||
*/
|
||||
|
||||
#define BOOST_OS_QNX BOOST_VERSION_NUMBER(0,0,0)
|
||||
|
||||
#if defined(__QNX__) || defined(__QNXNTO__)
|
||||
# undef BOOST_OS_QNX
|
||||
# if defined(_NTO_VERSION)
|
||||
# define BOOST_OS_QNX BOOST_PREDEF_MAKE_10_VVRR(_NTO_VERSION)
|
||||
# elif defined(__QNX__)
|
||||
# define BOOST_OS_QNX BOOST_VERSION_NUMBER(4,0,0)
|
||||
# else
|
||||
# define BOOST_OS_QNX BOOST_VERSION_NUMBER(0,0,1)
|
||||
# endif
|
||||
#endif
|
||||
|
||||
#define BOOST_OS_QNX_NAME "QNX"
|
||||
|
||||
#include <boost/predef/detail/test.h>
|
||||
BOOST_PREDEF_DECLARE_TEST(BOOST_OS_QNX,BOOST_OS_QNX_NAME)
|
||||
|
||||
|
||||
#endif
|
||||
@@ -0,0 +1,41 @@
|
||||
/*
|
||||
Copyright Redshift Software, Inc. 2008-2012
|
||||
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_OS_SOLARIS_H
|
||||
#define BOOST_PREDEF_OS_SOLARIS_H
|
||||
|
||||
#include <boost/predef/version_number.h>
|
||||
#include <boost/predef/make.h>
|
||||
|
||||
/*`
|
||||
[heading `BOOST_OS_SOLARIS`]
|
||||
|
||||
[@http://en.wikipedia.org/wiki/Solaris_Operating_Environment Solaris] operating system.
|
||||
|
||||
[table
|
||||
[[__predef_symbol__] [__predef_version__]]
|
||||
|
||||
[[``] [__predef_detection__]]
|
||||
|
||||
[[``] [V.R.P]]
|
||||
]
|
||||
*/
|
||||
|
||||
#define BOOST_OS_SOLARIS BOOST_VERSION_NUMBER(0,0,0)
|
||||
|
||||
#if defined(sun) || defined(__sun)
|
||||
# undef BOOST_OS_SOLARIS
|
||||
# define BOOST_OS_SOLARIS BOOST_VERSION_NUMBER(0,0,1)
|
||||
#endif
|
||||
|
||||
#define BOOST_OS_SOLARIS_NAME "Solaris"
|
||||
|
||||
#include <boost/predef/detail/test.h>
|
||||
BOOST_PREDEF_DECLARE_TEST(BOOST_OS_SOLARIS,BOOST_OS_SOLARIS_NAME)
|
||||
|
||||
|
||||
#endif
|
||||
@@ -0,0 +1,57 @@
|
||||
/*
|
||||
Copyright Redshift Software, Inc. 2008-2012
|
||||
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_OS_UNIX_H
|
||||
#define BOOST_PREDEF_OS_UNIX_H
|
||||
|
||||
#include <boost/predef/version_number.h>
|
||||
#include <boost/predef/make.h>
|
||||
|
||||
/*`
|
||||
[heading `BOOST_OS_UNIX`]
|
||||
|
||||
[@http://en.wikipedia.org/wiki/Unix Unix Environment] operating system.
|
||||
|
||||
[table
|
||||
[[__predef_symbol__] [__predef_version__]]
|
||||
|
||||
[[``] [__predef_detection__]]
|
||||
|
||||
[[``] [V.R.P]]
|
||||
]
|
||||
*/
|
||||
|
||||
#define BOOST_OS_UNIX BOOST_VERSION_NUMBER(0,0,0)
|
||||
|
||||
#if defined(unix) || defined(__unix) || \
|
||||
defined(_XOPEN_SOURCE) || defined(_POSIX_SOURCE)
|
||||
# undef BOOST_OS_UNIX
|
||||
# define BOOST_OS_UNIX BOOST_VERSION_NUMBER(0,0,1)
|
||||
#endif
|
||||
|
||||
/*`
|
||||
[heading `BOOST_OS_SVR4`]
|
||||
|
||||
[@http://en.wikipedia.org/wiki/UNIX_System_V SVR4 Environment] operating system.
|
||||
*/
|
||||
|
||||
#define BOOST_OS_SVR4 BOOST_VERSION_NUMBER(0,0,0)
|
||||
|
||||
#if defined(__sysv__) || defined(__SVR4) || \
|
||||
defined(__svr4__) || defined(_SYSTYPE_SVR4)
|
||||
# undef BOOST_OS_SVR4
|
||||
# define BOOST_OS_SVR4 BOOST_VERSION_NUMBER(0,0,1)
|
||||
#endif
|
||||
|
||||
#define BOOST_OS_UNIX_NAME "Unix ENvironment"
|
||||
|
||||
#include <boost/predef/detail/test.h>
|
||||
BOOST_PREDEF_DECLARE_TEST(BOOST_OS_UNIX,BOOST_OS_UNIX_NAME)
|
||||
|
||||
BOOST_PREDEF_DECLARE_TEST(BOOST_OS_SVR4,"SVR4 Environment")
|
||||
|
||||
#endif
|
||||
@@ -0,0 +1,46 @@
|
||||
/*
|
||||
Copyright Redshift Software Inc 2011-2012
|
||||
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_OS_VMS_H
|
||||
#define BOOST_PREDEF_OS_VMS_H
|
||||
|
||||
#include <boost/predef/version_number.h>
|
||||
#include <boost/predef/make.h>
|
||||
|
||||
/*`
|
||||
[heading `BOOST_OS_VMS`]
|
||||
|
||||
[@http://en.wikipedia.org/wiki/Vms VMS] operating system.
|
||||
Version number available as major, minor, and patch.
|
||||
|
||||
[table
|
||||
[[__predef_symbol__] [__predef_version__]]
|
||||
|
||||
[[``] [__predef_detection__]]
|
||||
|
||||
[[``] [V.R.P]]
|
||||
]
|
||||
*/
|
||||
|
||||
#define BOOST_OS_VMS BOOST_VERSION_NUMBER(0,0,0)
|
||||
|
||||
#if defined(VMS) || defined(__VMS)
|
||||
# undef BOOST_OS_VMS
|
||||
# if defined(__VMS_VER)
|
||||
# define BOOST_OS_VMS BOOST_PREDEF_MAKE_10_VVRR00PP00(__VMS_VER)
|
||||
# else
|
||||
# define BOOST_OS_VMS BOOST_VERSION_NUMBER(0,0,1)
|
||||
# endif
|
||||
#endif
|
||||
|
||||
#define BOOST_OS_VMS_NAME "VMS"
|
||||
|
||||
#include <boost/predef/detail/test.h>
|
||||
BOOST_PREDEF_DECLARE_TEST(BOOST_OS_VMS,BOOST_OS_VMS_NAME)
|
||||
|
||||
|
||||
#endif
|
||||
@@ -0,0 +1,43 @@
|
||||
/*
|
||||
Copyright Redshift Software, Inc. 2008-2012
|
||||
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_OS_WINDOWS_H
|
||||
#define BOOST_PREDEF_OS_WINDOWS_H
|
||||
|
||||
#include <boost/predef/version_number.h>
|
||||
#include <boost/predef/make.h>
|
||||
|
||||
/*`
|
||||
[heading `BOOST_OS_WINDOWS`]
|
||||
|
||||
[@http://en.wikipedia.org/wiki/Category:Microsoft_Windows Microsoft Windows] operating system.
|
||||
|
||||
[table
|
||||
[[__predef_symbol__] [__predef_version__]]
|
||||
|
||||
[[``] [__predef_detection__]]
|
||||
|
||||
[[``] [V.R.P]]
|
||||
]
|
||||
*/
|
||||
|
||||
#define BOOST_OS_WINDOWS BOOST_VERSION_NUMBER(0,0,0)
|
||||
|
||||
#if defined(_WIN32) || defined(_WIN64) || \
|
||||
defined(__WIN32__) || defined(__TOS_WIN__) || \
|
||||
defined(__WINDOWS__)
|
||||
# undef BOOST_OS_WINDOWS
|
||||
# define BOOST_OS_WINDOWS BOOST_VERSION_NUMBER(0,0,1)
|
||||
#endif
|
||||
|
||||
#define BOOST_OS_WINDOWS_NAME "Microsoft Windows"
|
||||
|
||||
#include <boost/predef/detail/test.h>
|
||||
BOOST_PREDEF_DECLARE_TEST(BOOST_OS_WINDOWS,BOOST_OS_WINDOWS_NAME)
|
||||
|
||||
|
||||
#endif
|
||||
Reference in new issue
Block a user