]> git.lyx.org Git - lyx.git/blob - boost/boost/config/platform/cygwin.hpp
update boost to pre-1.30.0
[lyx.git] / boost / boost / config / platform / cygwin.hpp
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.
5
6 //  See http://www.boost.org for most recent version.
7
8 //  cygwin specific config options:
9
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
15
16 //
17 // Threading API:
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
21 #include <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
28 #else
29 #  if !defined(BOOST_HAS_WINTHREADS)
30 #     define BOOST_HAS_WINTHREADS
31 #  endif
32 #  define BOOST_HAS_FTIME
33 #endif
34
35 // boilerplate code:
36 #include <boost/config/posix_features.hpp>
37  
38
39