|
Boost-Commit : |
From: kbelco_at_[hidden]
Date: 2008-04-25 11:38:26
Author: noel_belcourt
Date: 2008-04-25 11:38:26 EDT (Fri, 25 Apr 2008)
New Revision: 44764
URL: http://svn.boost.org/trac/boost/changeset/44764
Log:
Enable macros BOOST_HAS_PTHREAD_MUTEXATTR_SETTYPE and
BOOST_HAS_NANOSLEEP.
Text files modified:
trunk/boost/config/platform/macos.hpp | 8 ++++++++
1 files changed, 8 insertions(+), 0 deletions(-)
Modified: trunk/boost/config/platform/macos.hpp
==============================================================================
--- trunk/boost/config/platform/macos.hpp (original)
+++ trunk/boost/config/platform/macos.hpp 2008-04-25 11:38:26 EDT (Fri, 25 Apr 2008)
@@ -47,6 +47,14 @@
# define BOOST_NO_STDC_NAMESPACE
# endif
+# if (__GNUC__ == 4)
+
+// Both gcc and intel require these.
+# define BOOST_HAS_PTHREAD_MUTEXATTR_SETTYPE
+# define BOOST_HAS_NANOSLEEP
+
+# endif
+
#else
// Using the MSL C library.
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