From 2b77c9bfb58d2a700c7566e4775e535ba27cba01 Mon Sep 17 00:00:00 2001 From: John Maddock Date: Sun, 21 Oct 2001 11:46:46 +0000 Subject: [PATCH] Added pthread config options [SVN r11413] --- include/boost/config/platform/macos.hpp | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/include/boost/config/platform/macos.hpp b/include/boost/config/platform/macos.hpp index 52dbf805..b749e137 100644 --- a/include/boost/config/platform/macos.hpp +++ b/include/boost/config/platform/macos.hpp @@ -21,6 +21,14 @@ # define BOOST_HAS_STDINT_H # endif +// +// BSD runtime has pthreads, sched_yield and gettimeofday, +// of these only pthreads are advertised in , so set the +// other options explicitly: +// +# define BOOST_HAS_SCHED_YIELD +# define BOOST_HAS_GETTIMEOFDAY + # ifndef __APPLE_CC__ // GCC strange "ignore std" mode works better if you pretend everything @@ -30,3 +38,4 @@ # endif #endif +