1/*
2Copyright Rene Rivera 2008-2013
3Distributed under the Boost Software License, Version 1.0.
4(See accompanying file LICENSE_1_0.txt or copy at
5http://www.boost.org/LICENSE_1_0.txt)
6*/
7
8#ifndef BOOST_PREDEF_OS_CYGWIN_H
9#define BOOST_PREDEF_OS_CYGWIN_H
10
11#include <boost/predef/version_number.h>
12#include <boost/predef/make.h>
13
14/*`
15[heading `BOOST_OS_CYGWIN`]
16
17[@http://en.wikipedia.org/wiki/Cygwin Cygwin] evironment.
18
19[table
20 [[__predef_symbol__] [__predef_version__]]
21
22 [[`__CYGWIN__`] [__predef_detection__]]
23 ]
24 */
25
26#define BOOST_OS_CYGWIN BOOST_VERSION_NUMBER_NOT_AVAILABLE
27
28#if !defined(BOOST_PREDEF_DETAIL_OS_DETECTED) && ( \
29 defined(__CYGWIN__) \
30 )
31# undef BOOST_OS_CYGWIN
32# define BOOST_OS_CGYWIN BOOST_VERSION_NUMBER_AVAILABLE
33#endif
34
35#if BOOST_OS_CYGWIN
36# define BOOST_OS_CYGWIN_AVAILABLE
37# include <boost/predef/detail/os_detected.h>
38#endif
39
40#define BOOST_OS_CYGWIN_NAME "Cygwin"
41
42#include <boost/predef/detail/test.h>
43BOOST_PREDEF_DECLARE_TEST(BOOST_OS_CYGWIN,BOOST_OS_CYGWIN_NAME)
44
45
46#endif
47