forked from boostorg/config
Modified thread setup, and fixed typo
[SVN r11248]
This commit is contained in:
@ -17,11 +17,13 @@
|
||||
// See if we have POSIX threads, if we do use them, otherwise
|
||||
// revert to native Win threads.
|
||||
#include <unistd.h>
|
||||
#if if defined(_POSIX_THREADS) && (_POSIX_THREADS+0 >= 0) && !defined(BOOST_HAS_WINTHREADS)
|
||||
#if defined(_POSIX_THREADS) && (_POSIX_THREADS+0 >= 0) && !defined(BOOST_HAS_WINTHREADS)
|
||||
# define BOOST_HAS_PTHREADS
|
||||
# define BOOST_HAS_SCHED_YIELD
|
||||
# define BOOST_HAS_GETTIMEOFDAY
|
||||
#else
|
||||
# define NOOST_HAS_WINTHREADS
|
||||
# define BOOST_HAS_WINTHREADS
|
||||
# define BOOST_HAS_FTIME
|
||||
#endif
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user