From 2decd4f4bfe10b451d7a483122974f693f3de851 Mon Sep 17 00:00:00 2001 From: Rene Rivera Date: Mon, 7 Jul 2014 08:21:22 -0500 Subject: [PATCH] Let OS_UNIX be detected at all times as it overlaps with other OS types. --- include/boost/predef/os/unix.h | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/include/boost/predef/os/unix.h b/include/boost/predef/os/unix.h index 3d1dcb0..1ba06c9 100644 --- a/include/boost/predef/os/unix.h +++ b/include/boost/predef/os/unix.h @@ -28,10 +28,8 @@ http://www.boost.org/LICENSE_1_0.txt) #define BOOST_OS_UNIX BOOST_VERSION_NUMBER_NOT_AVAILABLE -#if !defined(BOOST_PREDEF_DETAIL_OS_DETECTED) && ( \ - defined(unix) || defined(__unix) || \ - defined(_XOPEN_SOURCE) || defined(_POSIX_SOURCE) \ - ) +#if defined(unix) || defined(__unix) || \ + defined(_XOPEN_SOURCE) || defined(_POSIX_SOURCE) # undef BOOST_OS_UNIX # define BOOST_OS_UNIX BOOST_VERSION_NUMBER_AVAILABLE #endif