update boost on linux
This commit is contained in:
@@ -5,8 +5,8 @@ Distributed under the Boost Software License, Version 1.0.
|
||||
http://www.boost.org/LICENSE_1_0.txt)
|
||||
*/
|
||||
|
||||
#ifndef BOOST_PREDEF_OS_ADROID_H
|
||||
#define BOOST_PREDEF_OS_ADROID_H
|
||||
#ifndef BOOST_PREDEF_OS_ANDROID_H
|
||||
#define BOOST_PREDEF_OS_ANDROID_H
|
||||
|
||||
#include <boost/predef/version_number.h>
|
||||
#include <boost/predef/make.h>
|
||||
@@ -14,6 +14,9 @@ http://www.boost.org/LICENSE_1_0.txt)
|
||||
/*`
|
||||
[heading `BOOST_OS_ANDROID`]
|
||||
|
||||
NOTE: `BOOST_OS_ANDROID` is deprecated, and will be removed in a following release.
|
||||
Please use `BOOST_PLAT_ANDROID` instead.
|
||||
|
||||
[@http://en.wikipedia.org/wiki/Android_%28operating_system%29 Android] operating system.
|
||||
|
||||
[table
|
||||
|
||||
@@ -89,7 +89,7 @@ of BSD. If the above variants is detected the corresponding macro is also set.]
|
||||
|
||||
#define BOOST_OS_BSD_NAME "BSD"
|
||||
|
||||
#else
|
||||
#endif
|
||||
|
||||
#include <boost/predef/os/bsd/bsdi.h>
|
||||
#include <boost/predef/os/bsd/dragonfly.h>
|
||||
@@ -97,7 +97,5 @@ of BSD. If the above variants is detected the corresponding macro is also set.]
|
||||
#include <boost/predef/os/bsd/open.h>
|
||||
#include <boost/predef/os/bsd/net.h>
|
||||
|
||||
#endif
|
||||
|
||||
#include <boost/predef/detail/test.h>
|
||||
BOOST_PREDEF_DECLARE_TEST(BOOST_OS_BSD,BOOST_OS_BSD_NAME)
|
||||
|
||||
@@ -34,13 +34,20 @@ http://www.boost.org/LICENSE_1_0.txt)
|
||||
# define BOOST_OS_BSD_AVAILABLE
|
||||
# endif
|
||||
# undef BOOST_OS_BSD_FREE
|
||||
# include <sys/param.h>
|
||||
# if defined(__FreeBSD_version)
|
||||
# if __FreeBSD_version < 500000
|
||||
# if __FreeBSD_version == 491000
|
||||
# define BOOST_OS_BSD_FREE \
|
||||
BOOST_PREDEF_MAKE_10_VRP000(__FreeBSD_version)
|
||||
BOOST_VERSION_NUMBER(4, 10, 0)
|
||||
# elif __FreeBSD_version == 492000
|
||||
# define BOOST_OS_BSD_FREE \
|
||||
BOOST_VERSION_NUMBER(4, 11, 0)
|
||||
# elif __FreeBSD_version < 500000
|
||||
# define BOOST_OS_BSD_FREE \
|
||||
BOOST_PREDEF_MAKE_10_VRPPPP(__FreeBSD_version)
|
||||
# else
|
||||
# define BOOST_OS_BSD_FREE \
|
||||
BOOST_PREDEF_MAKE_10_VRR000(__FreeBSD_version)
|
||||
BOOST_PREDEF_MAKE_10_VVRRPPP(__FreeBSD_version)
|
||||
# endif
|
||||
# else
|
||||
# define BOOST_OS_BSD_FREE BOOST_VERSION_NUMBER_AVAILABLE
|
||||
|
||||
@@ -76,7 +76,7 @@ http://www.boost.org/LICENSE_1_0.txt)
|
||||
# include <boost/predef/detail/os_detected.h>
|
||||
#endif
|
||||
|
||||
#define BOOST_OS_BSD_NET_NAME "DragonFly BSD"
|
||||
#define BOOST_OS_BSD_NET_NAME "NetBSD"
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
@@ -50,6 +50,26 @@ http://www.boost.org/LICENSE_1_0.txt)
|
||||
[[`OpenBSD4_7`] [4.7.0]]
|
||||
[[`OpenBSD4_8`] [4.8.0]]
|
||||
[[`OpenBSD4_9`] [4.9.0]]
|
||||
[[`OpenBSD5_0`] [5.0.0]]
|
||||
[[`OpenBSD5_1`] [5.1.0]]
|
||||
[[`OpenBSD5_2`] [5.2.0]]
|
||||
[[`OpenBSD5_3`] [5.3.0]]
|
||||
[[`OpenBSD5_4`] [5.4.0]]
|
||||
[[`OpenBSD5_5`] [5.5.0]]
|
||||
[[`OpenBSD5_6`] [5.6.0]]
|
||||
[[`OpenBSD5_7`] [5.7.0]]
|
||||
[[`OpenBSD5_8`] [5.8.0]]
|
||||
[[`OpenBSD5_9`] [5.9.0]]
|
||||
[[`OpenBSD6_0`] [6.0.0]]
|
||||
[[`OpenBSD6_1`] [6.1.0]]
|
||||
[[`OpenBSD6_2`] [6.2.0]]
|
||||
[[`OpenBSD6_3`] [6.3.0]]
|
||||
[[`OpenBSD6_4`] [6.4.0]]
|
||||
[[`OpenBSD6_5`] [6.5.0]]
|
||||
[[`OpenBSD6_6`] [6.6.0]]
|
||||
[[`OpenBSD6_7`] [6.7.0]]
|
||||
[[`OpenBSD6_8`] [6.8.0]]
|
||||
[[`OpenBSD6_9`] [6.9.0]]
|
||||
]
|
||||
*/
|
||||
|
||||
@@ -153,6 +173,66 @@ http://www.boost.org/LICENSE_1_0.txt)
|
||||
# if !defined(BOOST_OS_BSD_OPEN) && defined(OpenBSD4_9)
|
||||
# define BOOST_OS_BSD_OPEN BOOST_VERSION_NUMBER(4,9,0)
|
||||
# endif
|
||||
# if !defined(BOOST_OS_BSD_OPEN) && defined(OpenBSD5_0)
|
||||
# define BOOST_OS_BSD_OPEN BOOST_VERSION_NUMBER(5,0,0)
|
||||
# endif
|
||||
# if !defined(BOOST_OS_BSD_OPEN) && defined(OpenBSD5_1)
|
||||
# define BOOST_OS_BSD_OPEN BOOST_VERSION_NUMBER(5,1,0)
|
||||
# endif
|
||||
# if !defined(BOOST_OS_BSD_OPEN) && defined(OpenBSD5_2)
|
||||
# define BOOST_OS_BSD_OPEN BOOST_VERSION_NUMBER(5,2,0)
|
||||
# endif
|
||||
# if !defined(BOOST_OS_BSD_OPEN) && defined(OpenBSD5_3)
|
||||
# define BOOST_OS_BSD_OPEN BOOST_VERSION_NUMBER(5,3,0)
|
||||
# endif
|
||||
# if !defined(BOOST_OS_BSD_OPEN) && defined(OpenBSD5_4)
|
||||
# define BOOST_OS_BSD_OPEN BOOST_VERSION_NUMBER(5,4,0)
|
||||
# endif
|
||||
# if !defined(BOOST_OS_BSD_OPEN) && defined(OpenBSD5_5)
|
||||
# define BOOST_OS_BSD_OPEN BOOST_VERSION_NUMBER(5,5,0)
|
||||
# endif
|
||||
# if !defined(BOOST_OS_BSD_OPEN) && defined(OpenBSD5_6)
|
||||
# define BOOST_OS_BSD_OPEN BOOST_VERSION_NUMBER(5,6,0)
|
||||
# endif
|
||||
# if !defined(BOOST_OS_BSD_OPEN) && defined(OpenBSD5_7)
|
||||
# define BOOST_OS_BSD_OPEN BOOST_VERSION_NUMBER(5,7,0)
|
||||
# endif
|
||||
# if !defined(BOOST_OS_BSD_OPEN) && defined(OpenBSD5_8)
|
||||
# define BOOST_OS_BSD_OPEN BOOST_VERSION_NUMBER(5,8,0)
|
||||
# endif
|
||||
# if !defined(BOOST_OS_BSD_OPEN) && defined(OpenBSD5_9)
|
||||
# define BOOST_OS_BSD_OPEN BOOST_VERSION_NUMBER(5,9,0)
|
||||
# endif
|
||||
# if !defined(BOOST_OS_BSD_OPEN) && defined(OpenBSD6_0)
|
||||
# define BOOST_OS_BSD_OPEN BOOST_VERSION_NUMBER(6,0,0)
|
||||
# endif
|
||||
# if !defined(BOOST_OS_BSD_OPEN) && defined(OpenBSD6_1)
|
||||
# define BOOST_OS_BSD_OPEN BOOST_VERSION_NUMBER(6,1,0)
|
||||
# endif
|
||||
# if !defined(BOOST_OS_BSD_OPEN) && defined(OpenBSD6_2)
|
||||
# define BOOST_OS_BSD_OPEN BOOST_VERSION_NUMBER(6,2,0)
|
||||
# endif
|
||||
# if !defined(BOOST_OS_BSD_OPEN) && defined(OpenBSD6_3)
|
||||
# define BOOST_OS_BSD_OPEN BOOST_VERSION_NUMBER(6,3,0)
|
||||
# endif
|
||||
# if !defined(BOOST_OS_BSD_OPEN) && defined(OpenBSD6_4)
|
||||
# define BOOST_OS_BSD_OPEN BOOST_VERSION_NUMBER(6,4,0)
|
||||
# endif
|
||||
# if !defined(BOOST_OS_BSD_OPEN) && defined(OpenBSD6_5)
|
||||
# define BOOST_OS_BSD_OPEN BOOST_VERSION_NUMBER(6,5,0)
|
||||
# endif
|
||||
# if !defined(BOOST_OS_BSD_OPEN) && defined(OpenBSD6_6)
|
||||
# define BOOST_OS_BSD_OPEN BOOST_VERSION_NUMBER(6,6,0)
|
||||
# endif
|
||||
# if !defined(BOOST_OS_BSD_OPEN) && defined(OpenBSD6_7)
|
||||
# define BOOST_OS_BSD_OPEN BOOST_VERSION_NUMBER(6,7,0)
|
||||
# endif
|
||||
# if !defined(BOOST_OS_BSD_OPEN) && defined(OpenBSD6_8)
|
||||
# define BOOST_OS_BSD_OPEN BOOST_VERSION_NUMBER(6,8,0)
|
||||
# endif
|
||||
# if !defined(BOOST_OS_BSD_OPEN) && defined(OpenBSD6_9)
|
||||
# define BOOST_OS_BSD_OPEN BOOST_VERSION_NUMBER(6,9,0)
|
||||
# endif
|
||||
# if !defined(BOOST_OS_BSD_OPEN)
|
||||
# define BOOST_OS_BSD_OPEN BOOST_VERSION_NUMBER_AVAILABLE
|
||||
# endif
|
||||
|
||||
@@ -20,6 +20,8 @@ http://www.boost.org/LICENSE_1_0.txt)
|
||||
[[__predef_symbol__] [__predef_version__]]
|
||||
|
||||
[[`__CYGWIN__`] [__predef_detection__]]
|
||||
|
||||
[[`CYGWIN_VERSION_API_MAJOR`, `CYGWIN_VERSION_API_MINOR`] [V.R.0]]
|
||||
]
|
||||
*/
|
||||
|
||||
@@ -28,8 +30,11 @@ http://www.boost.org/LICENSE_1_0.txt)
|
||||
#if !defined(BOOST_PREDEF_DETAIL_OS_DETECTED) && ( \
|
||||
defined(__CYGWIN__) \
|
||||
)
|
||||
# include <cygwin/version.h>
|
||||
# undef BOOST_OS_CYGWIN
|
||||
# define BOOST_OS_CYGWIN BOOST_VERSION_NUMBER_AVAILABLE
|
||||
# define BOOST_OS_CYGWIN \
|
||||
BOOST_VERSION_NUMBER(CYGWIN_VERSION_API_MAJOR,\
|
||||
CYGWIN_VERSION_API_MINOR, 0)
|
||||
#endif
|
||||
|
||||
#if BOOST_OS_CYGWIN
|
||||
|
||||
@@ -21,13 +21,16 @@ http://www.boost.org/LICENSE_1_0.txt)
|
||||
|
||||
[[`linux`] [__predef_detection__]]
|
||||
[[`__linux`] [__predef_detection__]]
|
||||
[[`__linux__`] [__predef_detection__]]
|
||||
[[`__gnu_linux__`] [__predef_detection__]]
|
||||
]
|
||||
*/
|
||||
|
||||
#define BOOST_OS_LINUX BOOST_VERSION_NUMBER_NOT_AVAILABLE
|
||||
|
||||
#if !defined(BOOST_PREDEF_DETAIL_OS_DETECTED) && ( \
|
||||
defined(linux) || defined(__linux) \
|
||||
defined(linux) || defined(__linux) || \
|
||||
defined(__linux__) || defined(__gnu_linux__) \
|
||||
)
|
||||
# undef BOOST_OS_LINUX
|
||||
# define BOOST_OS_LINUX BOOST_VERSION_NUMBER_AVAILABLE
|
||||
|
||||
Reference in New Issue
Block a user