forked from boostorg/config
MPTasks support has been absent from Boost for some time, remove it from here.
[SVN r69817]
This commit is contained in:
@ -64,16 +64,17 @@
|
|||||||
# if ( defined(TARGET_API_MAC_CARBON) && TARGET_API_MAC_CARBON ) || ( defined(TARGET_CARBON) && 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
|
// MPTasks support is deprecated/removed from Boost:
|
||||||
|
//# define BOOST_HAS_MPTASKS
|
||||||
# elif ( __dest_os == __mac_os_x )
|
# elif ( __dest_os == __mac_os_x )
|
||||||
// We are doing a Carbon/Mach-O/MSL build which has pthreads, but only the
|
// We are doing a Carbon/Mach-O/MSL build which has pthreads, but only the
|
||||||
// gettimeofday and no posix.
|
// gettimeofday and no posix.
|
||||||
# define BOOST_HAS_GETTIMEOFDAY
|
# define BOOST_HAS_GETTIMEOFDAY
|
||||||
# endif
|
# endif
|
||||||
|
|
||||||
// The MP task implementation of Boost Threads aims to replace MP-unsafe
|
#ifdef BOOST_HAS_PTHREADS
|
||||||
// parts of the MSL, so we turn on threads unconditionally.
|
# define BOOST_HAS_THREADS
|
||||||
# define BOOST_HAS_THREADS
|
#endif
|
||||||
|
|
||||||
// The remote call manager depends on this.
|
// The remote call manager depends on this.
|
||||||
# define BOOST_BIND_ENABLE_PASCAL
|
# define BOOST_BIND_ENABLE_PASCAL
|
||||||
|
Reference in New Issue
Block a user