1 // (C) Copyright Boost.org 2001. Permission to copy, use, modify, sell and
2 // distribute this software is granted provided this copyright notice appears
3 // in all copies. This software is provided "as is" without express or implied
4 // warranty, and with no claim as to its suitability for any purpose.
6 // See http://www.boost.org for most recent version.
8 // Mac OS specific config options:
10 #define BOOST_PLATFORM "Mac OS"
12 // If __MACH__, we're using the BSD standard C library, not the MSL:
15 # define BOOST_NO_CTYPE_FUNCTIONS
16 # define BOOST_NO_CWCHAR
17 # ifndef BOOST_HAS_UNISTD_H
18 # define BOOST_HAS_UNISTD_H
21 # include <boost/config/posix_features.hpp>
22 # ifndef BOOST_HAS_STDINT_H
23 # define BOOST_HAS_STDINT_H
27 // BSD runtime has pthreads, sched_yield and gettimeofday,
28 // of these only pthreads are advertised in <unistd.h>, so set the
29 // other options explicitly:
31 # define BOOST_HAS_SCHED_YIELD
32 # define BOOST_HAS_GETTIMEOFDAY
36 // GCC strange "ignore std" mode works better if you pretend everything
37 // is in the std namespace, for the most part.
39 # define BOOST_NO_STDC_NAMESPACE
44 // We will eventually support threads in non-Carbon builds, but we do
45 // not support this yet.
48 # define BOOST_HAS_MPTASKS
50 // The MP task implementation of Boost Threads aims to replace MP-unsafe
51 // parts of the MSL, so we turn on threads unconditionally.
52 # define BOOST_HAS_THREADS
54 // The remote call manager depends on this.
55 # define BOOST_BIND_ENABLE_PASCAL