forked from boostorg/config
Indicate availability of gettimeofday when building for the Carbon/Mach-O/MSL combination.
[SVN r28481]
This commit is contained in:
@@ -53,10 +53,14 @@
|
|||||||
|
|
||||||
// We will eventually support threads in non-Carbon builds, but we do
|
// We will eventually support threads in non-Carbon builds, but we do
|
||||||
// not support this yet.
|
// not support this yet.
|
||||||
# if TARGET_CARBON
|
# if ( defined(TARGET_API_MAC_CARBON) && TARGET_API_MAC_CARBON ) || ( defined(TARGET_CARBON) && TARGET_CARBON )
|
||||||
|
|
||||||
# if !defined(BOOST_HAS_PTHREADS)
|
# if !defined(BOOST_HAS_PTHREADS)
|
||||||
# define BOOST_HAS_MPTASKS
|
# define BOOST_HAS_MPTASKS
|
||||||
|
# elif ( __dest_os == __mac_os_x )
|
||||||
|
// We are doing a Carbon/Mach-O/MSL build which has pthreads, but only the
|
||||||
|
// gettimeofday and no posix.
|
||||||
|
# define BOOST_HAS_GETTIMEOFDAY
|
||||||
# endif
|
# endif
|
||||||
|
|
||||||
// The MP task implementation of Boost Threads aims to replace MP-unsafe
|
// The MP task implementation of Boost Threads aims to replace MP-unsafe
|
||||||
|
Reference in New Issue
Block a user