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,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
|
||||
Reference in new issue
Block a user