forked from boostorg/predef
Fix bad tests for sub-BSD OS detections that resulted in sub-BSD flavors being detected but appearing that the super-BSD was not detected.
[SVN r85971]
This commit is contained in:
@ -25,8 +25,9 @@ http://www.boost.org/LICENSE_1_0.txt)
|
||||
#define BOOST_OS_BSD_BSDI BOOST_VERSION_NUMBER_NOT_AVAILABLE
|
||||
|
||||
#if defined(__bsdi__)
|
||||
# ifndef BOOST_OS_BSD
|
||||
# ifndef BOOST_OS_BSD_AVAILABLE
|
||||
# define BOOST_OS_BSD BOOST_VERSION_NUMBER_AVAILABLE
|
||||
# define BOOST_OS_BSD_AVAILABLE
|
||||
# endif
|
||||
# undef BOOST_OS_BSD_BSDI
|
||||
# define BOOST_OS_BSD_BSDI BOOST_VERSION_NUMBER_AVAILABLE
|
||||
|
@ -25,8 +25,9 @@ http://www.boost.org/LICENSE_1_0.txt)
|
||||
#define BOOST_OS_BSD_DRAGONFLY BOOST_VERSION_NUMBER_NOT_AVAILABLE
|
||||
|
||||
#if defined(__DragonFly__)
|
||||
# ifndef BOOST_OS_BSD
|
||||
# ifndef BOOST_OS_BSD_AVAILABLE
|
||||
# define BOOST_OS_BSD BOOST_VERSION_NUMBER_AVAILABLE
|
||||
# define BOOST_OS_BSD_AVAILABLE
|
||||
# endif
|
||||
# undef BOOST_OS_BSD_DRAGONFLY
|
||||
# if defined(__DragonFly__)
|
||||
|
@ -27,8 +27,9 @@ http://www.boost.org/LICENSE_1_0.txt)
|
||||
#define BOOST_OS_BSD_FREE BOOST_VERSION_NUMBER_NOT_AVAILABLE
|
||||
|
||||
#if defined(__FreeBSD__)
|
||||
# ifndef BOOST_OS_BSD
|
||||
# ifndef BOOST_OS_BSD_AVAILABLE
|
||||
# define BOOST_OS_BSD BOOST_VERSION_NUMBER_AVAILABLE
|
||||
# define BOOST_OS_BSD_AVAILABLE
|
||||
# endif
|
||||
# undef BOOST_OS_BSD_FREE
|
||||
# if defined(__FreeBSD_version)
|
||||
|
@ -32,8 +32,9 @@ http://www.boost.org/LICENSE_1_0.txt)
|
||||
#define BOOST_OS_BSD_NET BOOST_VERSION_NUMBER_NOT_AVAILABLE
|
||||
|
||||
#if defined(__NETBSD__) || defined(__NetBSD__)
|
||||
# ifndef BOOST_OS_BSD
|
||||
# ifndef BOOST_OS_BSD_AVAILABLE
|
||||
# define BOOST_OS_BSD BOOST_VERSION_NUMBER_AVAILABLE
|
||||
# define BOOST_OS_BSD_AVAILABLE
|
||||
# endif
|
||||
# undef BOOST_OS_BSD_NET
|
||||
# if defined(__NETBSD__)
|
||||
|
@ -56,8 +56,9 @@ http://www.boost.org/LICENSE_1_0.txt)
|
||||
#define BOOST_OS_BSD_OPEN BOOST_VERSION_NUMBER_NOT_AVAILABLE
|
||||
|
||||
#if defined(__OpenBSD__)
|
||||
# ifndef BOOST_OS_BSD
|
||||
# ifndef BOOST_OS_BSD_AVAILABLE
|
||||
# define BOOST_OS_BSD BOOST_VERSION_NUMBER_AVAILABLE
|
||||
# define BOOST_OS_BSD_AVAILABLE
|
||||
# endif
|
||||
# undef BOOST_OS_BSD_OPEN
|
||||
# if !defined(BOOST_OS_BSD_OPEN) && defined(OpenBSD2_0)
|
||||
|
Reference in New Issue
Block a user