]> git.lyx.org Git - lyx.git/blob - 3rdparty/boost/boost/predef/os/cygwin.h
Update to boost 1.72
[lyx.git] / 3rdparty / boost / boost / predef / os / cygwin.h
1 /*
2 Copyright Rene Rivera 2008-2015
3 Distributed under the Boost Software License, Version 1.0.
4 (See accompanying file LICENSE_1_0.txt or copy at
5 http://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     [[`CYGWIN_VERSION_API_MAJOR`, `CYGWIN_VERSION_API_MINOR`] [V.R.0]]
25     ]
26  */
27
28 #define BOOST_OS_CYGWIN BOOST_VERSION_NUMBER_NOT_AVAILABLE
29
30 #if !defined(BOOST_PREDEF_DETAIL_OS_DETECTED) && ( \
31     defined(__CYGWIN__) \
32     )
33 #   include <cygwin/version.h>
34 #   undef BOOST_OS_CYGWIN
35 #   define BOOST_OS_CYGWIN \
36         BOOST_VERSION_NUMBER(CYGWIN_VERSION_API_MAJOR,\
37                              CYGWIN_VERSION_API_MINOR, 0)
38 #endif
39
40 #if BOOST_OS_CYGWIN
41 #   define BOOST_OS_CYGWIN_AVAILABLE
42 #   include <boost/predef/detail/os_detected.h>
43 #endif
44
45 #define BOOST_OS_CYGWIN_NAME "Cygwin"
46
47 #endif
48
49 #include <boost/predef/detail/test.h>
50 BOOST_PREDEF_DECLARE_TEST(BOOST_OS_CYGWIN,BOOST_OS_CYGWIN_NAME)