New URL for NEMO forge!   http://forge.nemo-ocean.eu

Since March 2022 along with NEMO 4.2 release, the code development moved to a self-hosted GitLab.
This present forge is now archived and remained online for history.
cygwin.hpp in vendors/XIOS/current/extern/boost/include/boost/config/platform – NEMO

source: vendors/XIOS/current/extern/boost/include/boost/config/platform/cygwin.hpp @ 3428

Last change on this file since 3428 was 3428, checked in by rblod, 12 years ago

importing initial XIOS vendor drop

File size: 1.2 KB
Line 
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// boilerplate code:
43#include <boost/config/posix_features.hpp>
44 
45
46
47
48
Note: See TracBrowser for help on using the repository browser.