From d5be6be4d6e7c58ae5d963c9981c923717ad159d Mon Sep 17 00:00:00 2001 From: John Maddock Date: Tue, 25 Sep 2001 11:46:44 +0000 Subject: [PATCH] Modified thread setup, and fixed typo [SVN r11248] --- include/boost/config/platform/cygwin.hpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/include/boost/config/platform/cygwin.hpp b/include/boost/config/platform/cygwin.hpp index b5749511..21b25dfa 100644 --- a/include/boost/config/platform/cygwin.hpp +++ b/include/boost/config/platform/cygwin.hpp @@ -17,11 +17,13 @@ // See if we have POSIX threads, if we do use them, otherwise // revert to native Win threads. #include -#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