]> AND Private Git Repository - canny.git/blob - stc/exp/ml_stc_linux_make_v1.0/include/boost/config/platform/cygwin.hpp
Logo AND Algorithmique Numérique Distribuée

Private GIT Repository
514ad25be8e1d653880d1809e71fe15de5b216ff
[canny.git] / stc / exp / ml_stc_linux_make_v1.0 / include / boost / config / platform / cygwin.hpp
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
5 \r
6 //  See http://www.boost.org for most recent version.\r
7 \r
8 //  cygwin specific config options:\r
9 \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
17 \r
18 //\r
19 // Threading API:\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
23 #include <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
30 #else\r
31 #  if !defined(BOOST_HAS_WINTHREADS)\r
32 #     define BOOST_HAS_WINTHREADS\r
33 #  endif\r
34 #  define BOOST_HAS_FTIME\r
35 #endif\r
36 \r
37 //\r
38 // find out if we have a stdint.h, there should be a better way to do this:\r
39 //\r
40 #include <sys/types.h>\r
41 #ifdef _STDINT_H\r
42 #define BOOST_HAS_STDINT_H\r
43 #endif\r
44 \r
45 // boilerplate code:\r
46 #include <boost/config/posix_features.hpp>\r
47  \r
48 \r
49 \r
50 \r
51 \r