mirror of
https://github.com/boostorg/predef.git
synced 2025-07-29 11:37:13 +02:00
Add version information to os/cygwin detection (#88)
This commit is contained in:
committed by
Rene Rivera
parent
32d4581c16
commit
62a50d3892
@ -20,6 +20,8 @@ http://www.boost.org/LICENSE_1_0.txt)
|
||||
[[__predef_symbol__] [__predef_version__]]
|
||||
|
||||
[[`__CYGWIN__`] [__predef_detection__]]
|
||||
|
||||
[[`CYGWIN_VERSION_API_MAJOR`, `CYGWIN_VERSION_API_MINOR`] [V.R.0]]
|
||||
]
|
||||
*/
|
||||
|
||||
@ -28,8 +30,11 @@ http://www.boost.org/LICENSE_1_0.txt)
|
||||
#if !defined(BOOST_PREDEF_DETAIL_OS_DETECTED) && ( \
|
||||
defined(__CYGWIN__) \
|
||||
)
|
||||
# include <cygwin/version.h>
|
||||
# undef BOOST_OS_CYGWIN
|
||||
# define BOOST_OS_CYGWIN BOOST_VERSION_NUMBER_AVAILABLE
|
||||
# define BOOST_OS_CYGWIN \
|
||||
BOOST_VERSION_NUMBER(CYGWIN_VERSION_API_MAJOR,\
|
||||
CYGWIN_VERSION_API_MINOR, 0)
|
||||
#endif
|
||||
|
||||
#if BOOST_OS_CYGWIN
|
||||
|
Reference in New Issue
Block a user