1 // (C) Copyright John Maddock 2001 - 2003.
\r
2 // Use, modification and distribution are subject to the
\r
3 // Boost Software License, Version 1.0. (See accompanying file
\r
4 // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
\r
6 // See http://www.boost.org for most recent version.
\r
8 // cygwin specific config options:
\r
10 #define BOOST_PLATFORM "Cygwin"
\r
11 #define BOOST_NO_CWCTYPE
\r
12 #define BOOST_NO_CWCHAR
\r
13 #define BOOST_NO_SWPRINTF
\r
14 #define BOOST_HAS_DIRENT_H
\r
15 #define BOOST_HAS_LOG1P
\r
16 #define BOOST_HAS_EXPM1
\r
20 // See if we have POSIX threads, if we do use them, otherwise
\r
21 // revert to native Win threads.
\r
22 #define BOOST_HAS_UNISTD_H
\r
24 #if defined(_POSIX_THREADS) && (_POSIX_THREADS+0 >= 0) && !defined(BOOST_HAS_WINTHREADS)
\r
25 # define BOOST_HAS_PTHREADS
\r
26 # define BOOST_HAS_SCHED_YIELD
\r
27 # define BOOST_HAS_GETTIMEOFDAY
\r
28 # define BOOST_HAS_PTHREAD_MUTEXATTR_SETTYPE
\r
29 # define BOOST_HAS_SIGACTION
\r
31 # if !defined(BOOST_HAS_WINTHREADS)
\r
32 # define BOOST_HAS_WINTHREADS
\r
34 # define BOOST_HAS_FTIME
\r
38 // find out if we have a stdint.h, there should be a better way to do this:
\r
40 #include <sys/types.h>
\r
42 #define BOOST_HAS_STDINT_H
\r
45 // boilerplate code:
\r
46 #include <boost/config/posix_features.hpp>
\r