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.