|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r75798 - trunk/boost/thread/pthread
From: vicente.botet_at_[hidden]
Date: 2011-12-04 04:35:36
Author: viboes
Date: 2011-12-04 04:35:34 EST (Sun, 04 Dec 2011)
New Revision: 75798
URL: http://svn.boost.org/trac/boost/changeset/75798
Log:
Thread: #3639 Boost.Thread doesn't build with Sun-5.9 on Linux
Text files modified:
trunk/boost/thread/pthread/mutex.hpp | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
Modified: trunk/boost/thread/pthread/mutex.hpp
==============================================================================
--- trunk/boost/thread/pthread/mutex.hpp (original)
+++ trunk/boost/thread/pthread/mutex.hpp 2011-12-04 04:35:34 EST (Sun, 04 Dec 2011)
@@ -18,7 +18,7 @@
#include <boost/thread/pthread/pthread_mutex_scoped_lock.hpp>
#ifdef _POSIX_TIMEOUTS
-#if _POSIX_TIMEOUTS >= 0
+#if _POSIX_TIMEOUTS >= 0 && _POSIX_C_SOURCE>=200112L
#define BOOST_PTHREAD_HAS_TIMEDLOCK
#endif
#endif
Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk