Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-01-18 09:48:06

0001 /*
0002 Copyright Rene Rivera 2008-2015
0003 Distributed under the Boost Software License, Version 1.0.
0004 (See accompanying file LICENSE_1_0.txt or copy at
0005 http://www.boost.org/LICENSE_1_0.txt)
0006 */
0007 
0008 #ifndef BOOST_PREDEF_OS_CYGWIN_H
0009 #define BOOST_PREDEF_OS_CYGWIN_H
0010 
0011 #include <boost/predef/version_number.h>
0012 #include <boost/predef/make.h>
0013 
0014 /* tag::reference[]
0015 = `BOOST_OS_CYGWIN`
0016 
0017 http://en.wikipedia.org/wiki/Cygwin[Cygwin] evironment.
0018 
0019 [options="header"]
0020 |===
0021 | {predef_symbol} | {predef_version}
0022 
0023 | `+__CYGWIN__+` | {predef_detection}
0024 
0025 | `CYGWIN_VERSION_API_MAJOR`, `CYGWIN_VERSION_API_MINOR` | V.R.0
0026 |===
0027 */ // end::reference[]
0028 
0029 #define BOOST_OS_CYGWIN BOOST_VERSION_NUMBER_NOT_AVAILABLE
0030 
0031 #if !defined(BOOST_PREDEF_DETAIL_OS_DETECTED) && ( \
0032     defined(__CYGWIN__) \
0033     )
0034 #   include <cygwin/version.h>
0035 #   undef BOOST_OS_CYGWIN
0036 #   define BOOST_OS_CYGWIN \
0037         BOOST_VERSION_NUMBER(CYGWIN_VERSION_API_MAJOR,\
0038                              CYGWIN_VERSION_API_MINOR, 0)
0039 #endif
0040 
0041 #if BOOST_OS_CYGWIN
0042 #   define BOOST_OS_CYGWIN_AVAILABLE
0043 #   include <boost/predef/detail/os_detected.h>
0044 #endif
0045 
0046 #define BOOST_OS_CYGWIN_NAME "Cygwin"
0047 
0048 #endif
0049 
0050 #include <boost/predef/detail/test.h>
0051 BOOST_PREDEF_DECLARE_TEST(BOOST_OS_CYGWIN,BOOST_OS_CYGWIN_NAME)