annotate DEPENDENCIES/generic/include/boost/predef/platform/mingw.h @ 133:4acb5d8d80b6 tip

Don't fail environmental check if README.md exists (but .txt and no-suffix don't)
author Chris Cannam
date Tue, 30 Jul 2019 12:25:44 +0100
parents c530137014c0
children
rev   line source
Chris@16 1 /*
Chris@101 2 Copyright Rene Rivera 2008-2013
Chris@16 3 Distributed under the Boost Software License, Version 1.0.
Chris@16 4 (See accompanying file LICENSE_1_0.txt or copy at
Chris@16 5 http://www.boost.org/LICENSE_1_0.txt)
Chris@16 6 */
Chris@16 7
Chris@16 8 #ifndef BOOST_PREDEF_COMPILER_MINGW_H
Chris@16 9 #define BOOST_PREDEF_COMPILER_MINGW_H
Chris@16 10
Chris@16 11 #include <boost/predef/version_number.h>
Chris@16 12 #include <boost/predef/make.h>
Chris@16 13
Chris@16 14 /*`
Chris@16 15 [heading `BOOST_PLAT_MINGW`]
Chris@16 16
Chris@16 17 [@http://en.wikipedia.org/wiki/MinGW MinGW] platform.
Chris@16 18 Version number available as major, minor, and patch.
Chris@16 19
Chris@16 20 [table
Chris@16 21 [[__predef_symbol__] [__predef_version__]]
Chris@16 22
Chris@16 23 [[`__MINGW32__`] [__predef_detection__]]
Chris@16 24 [[`__MINGW64__`] [__predef_detection__]]
Chris@16 25
Chris@16 26 [[`__MINGW64_VERSION_MAJOR`, `__MINGW64_VERSION_MINOR`] [V.R.0]]
Chris@16 27 [[`__MINGW32_VERSION_MAJOR`, `__MINGW32_VERSION_MINOR`] [V.R.0]]
Chris@16 28 ]
Chris@16 29 */
Chris@16 30
Chris@16 31 #define BOOST_PLAT_MINGW BOOST_VERSION_NUMBER_NOT_AVAILABLE
Chris@16 32
Chris@16 33 #if defined(__MINGW32__) || defined(__MINGW64__)
Chris@16 34 # include <_mingw.h>
Chris@101 35 # if !defined(BOOST_PLAT_MINGW_DETECTION) && (defined(__MINGW64_VERSION_MAJOR) && defined(__MINGW64_VERSION_MINOR))
Chris@101 36 # define BOOST_PLAT_MINGW_DETECTION \
Chris@16 37 BOOST_VERSION_NUMBER(__MINGW64_VERSION_MAJOR,__MINGW64_VERSION_MINOR,0)
Chris@16 38 # endif
Chris@101 39 # if !defined(BOOST_PLAT_MINGW_DETECTION) && (defined(__MINGW32_VERSION_MAJOR) && defined(__MINGW32_VERSION_MINOR))
Chris@101 40 # define BOOST_PLAT_MINGW_DETECTION \
Chris@16 41 BOOST_VERSION_NUMBER(__MINGW32_MAJOR_VERSION,__MINGW32_MINOR_VERSION,0)
Chris@16 42 # endif
Chris@101 43 # if !defined(BOOST_PLAT_MINGW_DETECTION)
Chris@101 44 # define BOOST_PLAT_MINGW_DETECTION BOOST_VERSION_NUMBER_AVAILABLE
Chris@16 45 # endif
Chris@16 46 #endif
Chris@16 47
Chris@101 48 #ifdef BOOST_PLAT_MINGW_DETECTION
Chris@16 49 # define BOOST_PLAT_MINGW_AVAILABLE
Chris@101 50 # if defined(BOOST_PREDEF_DETAIL_PLAT_DETECTED)
Chris@101 51 # define BOOST_PLAT_MINGW_EMULATED BOOST_PLAT_MINGW_DETECTION
Chris@101 52 # else
Chris@101 53 # undef BOOST_PLAT_MINGW
Chris@101 54 # define BOOST_PLAT_MINGW BOOST_PLAT_MINGW_DETECTION
Chris@101 55 # endif
Chris@101 56 # include <boost/predef/detail/platform_detected.h>
Chris@16 57 #endif
Chris@16 58
Chris@16 59 #define BOOST_PLAT_MINGW_NAME "MinGW"
Chris@16 60
Chris@16 61 #include <boost/predef/detail/test.h>
Chris@16 62 BOOST_PREDEF_DECLARE_TEST(BOOST_PLAT_MINGW,BOOST_PLAT_MINGW_NAME)
Chris@16 63
Chris@101 64 #ifdef BOOST_PLAT_MINGW_EMULATED
Chris@101 65 #include <boost/predef/detail/test.h>
Chris@101 66 BOOST_PREDEF_DECLARE_TEST(BOOST_PLAT_MINGW_EMULATED,BOOST_PLAT_MINGW_NAME)
Chris@101 67 #endif
Chris@101 68
Chris@16 69
Chris@16 70 #endif