diff --git a/include/boost/config/platform/macos.hpp b/include/boost/config/platform/macos.hpp index 3a5f4130..a172a2d1 100644 --- a/include/boost/config/platform/macos.hpp +++ b/include/boost/config/platform/macos.hpp @@ -18,10 +18,14 @@ # ifndef BOOST_HAS_UNISTD_H # define BOOST_HAS_UNISTD_H # endif -// boilerplate code: -# ifndef TARGET_CARBON -# include -# endif +// +// Begin by including our boilerplate code for POSIX +// feature detection, this is safe even when using +// the MSL as Metrowerks supply their own +// to replace the platform-native BSD one. G++ users +// should also always be able to do this on MaxOS X. +// +# include # ifndef BOOST_HAS_STDINT_H # define BOOST_HAS_STDINT_H # endif @@ -51,7 +55,9 @@ // not support this yet. # if TARGET_CARBON +# if !defined(BOOST_HAS_PTHREADS) # define BOOST_HAS_MPTASKS +# endif // The MP task implementation of Boost Threads aims to replace MP-unsafe // parts of the MSL, so we turn on threads unconditionally.