From 239f2b758b81b383f84f17ac1c1e5b787d0fb079 Mon Sep 17 00:00:00 2001 From: "K. Noel Belcourt" Date: Fri, 25 Apr 2008 15:38:26 +0000 Subject: [PATCH] Enable macros BOOST_HAS_PTHREAD_MUTEXATTR_SETTYPE and BOOST_HAS_NANOSLEEP. [SVN r44764] --- include/boost/config/platform/macos.hpp | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/include/boost/config/platform/macos.hpp b/include/boost/config/platform/macos.hpp index d6877d31..2780ef99 100644 --- a/include/boost/config/platform/macos.hpp +++ b/include/boost/config/platform/macos.hpp @@ -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.