Modified thread setup, and fixed typo

[SVN r11248]
This commit is contained in:
John Maddock
2001-09-25 11:46:44 +00:00
parent bd7652dcef
commit d5be6be4d6

View File

@ -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