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 
00016 //
00017 // Threading API:
00018 // See if we have POSIX threads, if we do use them, otherwise
00019 // revert to native Win threads.
00020 #define BOOST_HAS_UNISTD_H
00021 #include <unistd.h>
00022 #if defined(_POSIX_THREADS) && (_POSIX_THREADS+0 >= 0) && !defined(BOOST_HAS_WINTHREADS)
00023 #  define BOOST_HAS_PTHREADS
00024 #  define BOOST_HAS_SCHED_YIELD
00025 #  define BOOST_HAS_GETTIMEOFDAY
00026 #  define BOOST_HAS_PTHREAD_MUTEXATTR_SETTYPE
00027 #  define BOOST_HAS_SIGACTION
00028 #else
00029 #  if !defined(BOOST_HAS_WINTHREADS)
00030 #     define BOOST_HAS_WINTHREADS
00031 #  endif
00032 #  define BOOST_HAS_FTIME
00033 #endif
00034 
00035 //
00036 // find out if we have a stdint.h, there should be a better way to do this:
00037 //
00038 #include <sys/types.h>
00039 #ifdef _STDINT_H
00040 #define BOOST_HAS_STDINT_H
00041 #endif
00042 
00043 // boilerplate code:
00044 #include <sysc/packages/boost/config/posix_features.hpp>
00045  
00046 
00047 
00048 

Generated on Wed Jan 21 15:32:09 2009 for SystemC by  doxygen 1.5.5