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_PLAT_MINGW32_H
0009 #define BOOST_PREDEF_PLAT_MINGW32_H
0010 
0011 #include <boost/predef/version_number.h>
0012 #include <boost/predef/make.h>
0013 
0014 /* tag::reference[]
0015 = `BOOST_PLAT_MINGW32`
0016 
0017 http://www.mingw.org/[MinGW] platform.
0018 Version number available as major, minor, and patch.
0019 
0020 [options="header"]
0021 |===
0022 | {predef_symbol} | {predef_version}
0023 
0024 | `+__MINGW32__+` | {predef_detection}
0025 
0026 | `+__MINGW32_VERSION_MAJOR+`, `+__MINGW32_VERSION_MINOR+` | V.R.0
0027 |===
0028 */ // end::reference[]
0029 
0030 #define BOOST_PLAT_MINGW32 BOOST_VERSION_NUMBER_NOT_AVAILABLE
0031 
0032 #if defined(__MINGW32__)
0033 #   include <_mingw.h>
0034 #   if !defined(BOOST_PLAT_MINGW32_DETECTION) && (defined(__MINGW32_VERSION_MAJOR) && defined(__MINGW32_VERSION_MINOR))
0035 #       define BOOST_PLAT_MINGW32_DETECTION \
0036             BOOST_VERSION_NUMBER(__MINGW32_VERSION_MAJOR,__MINGW32_VERSION_MINOR,0)
0037 #   endif
0038 #   if !defined(BOOST_PLAT_MINGW32_DETECTION)
0039 #       define BOOST_PLAT_MINGW32_DETECTION BOOST_VERSION_NUMBER_AVAILABLE
0040 #   endif
0041 #endif
0042 
0043 #ifdef BOOST_PLAT_MINGW32_DETECTION
0044 #   define BOOST_PLAT_MINGW32_AVAILABLE
0045 #   if defined(BOOST_PREDEF_DETAIL_PLAT_DETECTED)
0046 #       define BOOST_PLAT_MINGW32_EMULATED BOOST_PLAT_MINGW32_DETECTION
0047 #   else
0048 #       undef BOOST_PLAT_MINGW32
0049 #       define BOOST_PLAT_MINGW32 BOOST_PLAT_MINGW32_DETECTION
0050 #   endif
0051 #   include <boost/predef/detail/platform_detected.h>
0052 #endif
0053 
0054 #define BOOST_PLAT_MINGW32_NAME "MinGW"
0055 
0056 #endif
0057 
0058 #include <boost/predef/detail/test.h>
0059 BOOST_PREDEF_DECLARE_TEST(BOOST_PLAT_MINGW32,BOOST_PLAT_MINGW32_NAME)
0060 
0061 #ifdef BOOST_PLAT_MINGW32_EMULATED
0062 #include <boost/predef/detail/test.h>
0063 BOOST_PREDEF_DECLARE_TEST(BOOST_PLAT_MINGW32_EMULATED,BOOST_PLAT_MINGW32_NAME)
0064 #endif