BVB Source Codes

mars Show cygwin.hpp Source code

Return Download mars: download cygwin.hpp Source code - Download mars Source code - Type:.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_HAS_DIRENT_H
  12. #define BOOST_HAS_LOG1P
  13. #define BOOST_HAS_EXPM1
  14.  
  15. //
  16. // Threading API:
  17. // See if we have POSIX threads, if we do use them, otherwise
  18. // revert to native Win threads.
  19. #define BOOST_HAS_UNISTD_H
  20. #include <unistd.h>
  21. #if defined(_POSIX_THREADS) && (_POSIX_THREADS+0 >= 0) && !defined(BOOST_HAS_WINTHREADS)
  22. #  define BOOST_HAS_PTHREADS
  23. #  define BOOST_HAS_SCHED_YIELD
  24. #  define BOOST_HAS_GETTIMEOFDAY
  25. #  define BOOST_HAS_PTHREAD_MUTEXATTR_SETTYPE
  26. #  define BOOST_HAS_SIGACTION
  27. #else
  28. #  if !defined(BOOST_HAS_WINTHREADS)
  29. #     define BOOST_HAS_WINTHREADS
  30. #  endif
  31. #  define BOOST_HAS_FTIME
  32. #endif
  33.  
  34. //
  35. // find out if we have a stdint.h, there should be a better way to do this:
  36. //
  37. #include <sys/types.h>
  38. #ifdef _STDINT_H
  39. #define BOOST_HAS_STDINT_H
  40. #endif
  41.  
  42. /// Cygwin has no fenv.h
  43. #define BOOST_NO_FENV_H
  44.  
  45. // boilerplate code:
  46. #include <boost/config/posix_features.hpp>
  47.  
  48. //
  49. // Cygwin lies about XSI conformance, there is no nl_types.h:
  50. //
  51. #ifdef BOOST_HAS_NL_TYPES_H
  52. #  undef BOOST_HAS_NL_TYPES_H
  53. #endif
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
downloadcygwin.hpp Source code - Download mars Source code
Related Source Codes/Software:
Hero - Elegant transition library for iOS & tvOS 2017-06-09
deep-photo-styletransfer - Code and data for paper "Deep Photo Style Transfer... 2017-06-09
mastodon - A GNU Social-compatible microblogging server ... 2017-06-09
plyr - A simple HTML5, YouTube and Vimeo player ... 2017-06-08
prepack - Prepack is a partial evaluator for JavaScript. Pre... 2017-06-08
Public-APIs - 2017-06-09
lottie-ios - An iOS library to natively render After Effects ve... 2017-06-09
Awesome-Hacking - A collection of various awesome lists for hackers,... 2017-06-09
algorithms - Minimal examples of data structures and algorithms... 2017-06-10
lectures - Oxford Deep NLP 2017 course 2017-06-10
CRYENGINE - CRYENGINE is a powerful real-time game development... 2017-06-11
postal - 2017-06-11
reactide - Reactide is the first dedicated IDE for React web ... 2017-06-11
rkt - rkt is a pod-native container engine for Linux. It... 2017-06-11
uWebSockets - Tiny WebSockets https://for... 2017-06-11
realworld - TodoMVC for the RealWorld - Exemplary fullstack Me... 2017-06-11
goreplay - GoReplay is an open-source tool for capturing and ... 2017-06-10
pyenv - Simple Python version management 2017-06-10
redux-saga - An alternative side effect model for Redux apps ... 2017-06-10
angular-starter - 2017-06-10

 Back to top