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
14
#define BOOST_HAS_DIRENT_H
18
// See if we have POSIX threads, if we do use them, otherwise
19
// revert to native Win threads.
20
#define BOOST_HAS_UNISTD_H
22
#if defined(_POSIX_THREADS) && (_POSIX_THREADS+0 >= 0) && !defined(BOOST_HAS_WINTHREADS)
23
# define BOOST_HAS_PTHREADS
24
# define BOOST_HAS_SCHED_YIELD
25
# define BOOST_HAS_GETTIMEOFDAY
26
# define BOOST_HAS_PTHREAD_MUTEXATTR_SETTYPE
27
# define BOOST_HAS_SIGACTION
29
# if !defined(BOOST_HAS_WINTHREADS)
30
# define BOOST_HAS_WINTHREADS
32
# define BOOST_HAS_FTIME
36
#include <boost/config/posix_features.hpp>