cygwin.hpp
Go to the documentation of this file.
00001 //  (C) Copyright John Maddock 2001 - 2003. 
00002 //  Use, modification and distribution are subject to the 
00003 //  Boost Software License, Version 1.0. (See accompanying file 
00004 //  LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
00005 
00006 //  See http://www.boost.org for most recent version.
00007 
00008 //  cygwin specific config options:
00009 
00010 #define BOOST_PLATFORM "Cygwin"
00011 #define BOOST_NO_CWCTYPE
00012 #define BOOST_NO_CWCHAR
00013 #define BOOST_NO_SWPRINTF
00014 #define BOOST_HAS_DIRENT_H
00015 #define BOOST_HAS_LOG1P
00016 #define BOOST_HAS_EXPM1
00017 
00018 //
00019 // Threading API:
00020 // See if we have POSIX threads, if we do use them, otherwise
00021 // revert to native Win threads.
00022 #define BOOST_HAS_UNISTD_H
00023 #include <unistd.h>
00024 #if defined(_POSIX_THREADS) && (_POSIX_THREADS+0 >= 0) && !defined(BOOST_HAS_WINTHREADS)
00025 #  define BOOST_HAS_PTHREADS
00026 #  define BOOST_HAS_SCHED_YIELD
00027 #  define BOOST_HAS_GETTIMEOFDAY
00028 #  define BOOST_HAS_PTHREAD_MUTEXATTR_SETTYPE
00029 #  define BOOST_HAS_SIGACTION
00030 #else
00031 #  if !defined(BOOST_HAS_WINTHREADS)
00032 #     define BOOST_HAS_WINTHREADS
00033 #  endif
00034 #  define BOOST_HAS_FTIME
00035 #endif
00036 
00037 //
00038 // find out if we have a stdint.h, there should be a better way to do this:
00039 //
00040 #include <sys/types.h>
00041 #ifdef _STDINT_H
00042 #define BOOST_HAS_STDINT_H
00043 #endif
00044 
00045 // boilerplate code:
00046 #include <boost/config/posix_features.hpp>
00047  
00048 
00049 
00050 
00051 


appl
Author(s): petercai
autogenerated on Tue Jan 7 2014 11:02:29