OSDN Git Service

modified: utilsrc/src/Admin/Makefile
[eos/others.git] / utiltools / X86MAC64 / cuda / samples / 6_Advanced / interval / boost / config / platform / cygwin.hpp
1 //  (C) Copyright John Maddock 2001 - 2003. 
2 //  Use, modification and distribution are subject to the 
3 //  Boost Software License, Version 1.0. (See accompanying file 
4 //  LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
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 #define BOOST_HAS_LOG1P
16 #define BOOST_HAS_EXPM1
17
18 //
19 // Threading API:
20 // See if we have POSIX threads, if we do use them, otherwise
21 // revert to native Win threads.
22 #define BOOST_HAS_UNISTD_H
23 #include <unistd.h>
24 #if defined(_POSIX_THREADS) && (_POSIX_THREADS+0 >= 0) && !defined(BOOST_HAS_WINTHREADS)
25 #  define BOOST_HAS_PTHREADS
26 #  define BOOST_HAS_SCHED_YIELD
27 #  define BOOST_HAS_GETTIMEOFDAY
28 #  define BOOST_HAS_PTHREAD_MUTEXATTR_SETTYPE
29 #  define BOOST_HAS_SIGACTION
30 #else
31 #  if !defined(BOOST_HAS_WINTHREADS)
32 #     define BOOST_HAS_WINTHREADS
33 #  endif
34 #  define BOOST_HAS_FTIME
35 #endif
36
37 //
38 // find out if we have a stdint.h, there should be a better way to do this:
39 //
40 #include <sys/types.h>
41 #ifdef _STDINT_H
42 #define BOOST_HAS_STDINT_H
43 #endif
44
45 // boilerplate code:
46 #include <boost/config/posix_features.hpp>
47  
48
49
50
51