1 // (C) Copyright Boost.org 2001. Permission to copy, use, modify, sell and
2 // distribute this software is granted provided this copyright notice appears
3 // in all copies. This software is provided "as is" without express or implied
4 // warranty, and with no claim as to its suitability for any purpose.
6 // See http://www.boost.org for most recent version.
8 // cygwin specific config options:
10 #define BOOST_PLATFORM "Cygwin"
11 #define BOOST_NO_CWCTYPE
12 #define BOOST_NO_CWCHAR
13 #define BOOST_NO_SWPRINTF
17 // See if we have POSIX threads, if we do use them, otherwise
18 // revert to native Win threads.
19 #define BOOST_HAS_UNISTD_H
21 #if defined(_POSIX_THREADS) && (_POSIX_THREADS+0 >= 0) && !defined(BOOST_HAS_WINTHREADS)
22 # define BOOST_HAS_PTHREADS
23 # define BOOST_HAS_SCHED_YIELD
24 # define BOOST_HAS_GETTIMEOFDAY
25 # define BOOST_HAS_PTHREAD_MUTEXATTR_SETTYPE
27 # if !defined(BOOST_HAS_WINTHREADS)
28 # define BOOST_HAS_WINTHREADS
30 # define BOOST_HAS_FTIME
34 #include <boost/config/posix_features.hpp>