mirror of
https://github.com/boostorg/predef.git
synced 2025-08-02 04:54:27 +02:00
Let OS_UNIX be detected at all times as it overlaps with other OS types.
This commit is contained in:
@@ -28,10 +28,8 @@ http://www.boost.org/LICENSE_1_0.txt)
|
|||||||
|
|
||||||
#define BOOST_OS_UNIX BOOST_VERSION_NUMBER_NOT_AVAILABLE
|
#define BOOST_OS_UNIX BOOST_VERSION_NUMBER_NOT_AVAILABLE
|
||||||
|
|
||||||
#if !defined(BOOST_PREDEF_DETAIL_OS_DETECTED) && ( \
|
#if defined(unix) || defined(__unix) || \
|
||||||
defined(unix) || defined(__unix) || \
|
defined(_XOPEN_SOURCE) || defined(_POSIX_SOURCE)
|
||||||
defined(_XOPEN_SOURCE) || defined(_POSIX_SOURCE) \
|
|
||||||
)
|
|
||||||
# undef BOOST_OS_UNIX
|
# undef BOOST_OS_UNIX
|
||||||
# define BOOST_OS_UNIX BOOST_VERSION_NUMBER_AVAILABLE
|
# define BOOST_OS_UNIX BOOST_VERSION_NUMBER_AVAILABLE
|
||||||
#endif
|
#endif
|
||||||
|
Reference in New Issue
Block a user