From 95579505baa421533a2e22343fb781e3c9561173 Mon Sep 17 00:00:00 2001 From: Douglas Gregor Date: Tue, 5 Feb 2002 15:59:48 +0000 Subject: [PATCH] Linux has pthread_mutexattr_settype with _XOPEN_VERSION == 500 [SVN r12728] --- include/boost/config/posix_features.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/boost/config/posix_features.hpp b/include/boost/config/posix_features.hpp index be1e0216..f3412d72 100644 --- a/include/boost/config/posix_features.hpp +++ b/include/boost/config/posix_features.hpp @@ -58,7 +58,7 @@ // BOOST_HAS_PTHREAD_MUTEXATTR_SETTYPE: // These are predicated on _XOPEN_VERSION, and appears to be first released // in issue 4, version 2 (_XOPEN_VERSION > 500). -# if defined(_XOPEN_VERSION) && (_XOPEN_VERSION+0 > 500) +# if defined(_XOPEN_VERSION) && (_XOPEN_VERSION+0 >= 500) # define BOOST_HAS_GETTIMEOFDAY # define BOOST_HAS_PTHREAD_MUTEXATTR_SETTYPE # endif