File indexing completed on 2025-01-18 09:48:06
0001
0002
0003
0004
0005
0006
0007
0008 #ifndef BOOST_PREDEF_PLAT_MINGW_H
0009 #define BOOST_PREDEF_PLAT_MINGW_H
0010
0011 #include <boost/predef/version_number.h>
0012 #include <boost/predef/make.h>
0013
0014
0015
0016
0017
0018
0019
0020
0021
0022
0023
0024
0025
0026
0027
0028
0029
0030
0031
0032 #define BOOST_PLAT_MINGW BOOST_VERSION_NUMBER_NOT_AVAILABLE
0033
0034 #if defined(__MINGW32__) || defined(__MINGW64__)
0035 # include <_mingw.h>
0036 # if !defined(BOOST_PLAT_MINGW_DETECTION) && (defined(__MINGW64_VERSION_MAJOR) && defined(__MINGW64_VERSION_MINOR))
0037 # define BOOST_PLAT_MINGW_DETECTION \
0038 BOOST_VERSION_NUMBER(__MINGW64_VERSION_MAJOR,__MINGW64_VERSION_MINOR,0)
0039 # endif
0040 # if !defined(BOOST_PLAT_MINGW_DETECTION) && (defined(__MINGW32_VERSION_MAJOR) && defined(__MINGW32_VERSION_MINOR))
0041 # define BOOST_PLAT_MINGW_DETECTION \
0042 BOOST_VERSION_NUMBER(__MINGW32_MAJOR_VERSION,__MINGW32_MINOR_VERSION,0)
0043 # endif
0044 # if !defined(BOOST_PLAT_MINGW_DETECTION)
0045 # define BOOST_PLAT_MINGW_DETECTION BOOST_VERSION_NUMBER_AVAILABLE
0046 # endif
0047 #endif
0048
0049 #ifdef BOOST_PLAT_MINGW_DETECTION
0050 # define BOOST_PLAT_MINGW_AVAILABLE
0051 # if defined(BOOST_PREDEF_DETAIL_PLAT_DETECTED)
0052 # define BOOST_PLAT_MINGW_EMULATED BOOST_PLAT_MINGW_DETECTION
0053 # else
0054 # undef BOOST_PLAT_MINGW
0055 # define BOOST_PLAT_MINGW BOOST_PLAT_MINGW_DETECTION
0056 # endif
0057 # include <boost/predef/detail/platform_detected.h>
0058 #endif
0059
0060 #define BOOST_PLAT_MINGW_NAME "MinGW (any variety)"
0061
0062 #endif
0063
0064 #include <boost/predef/detail/test.h>
0065 BOOST_PREDEF_DECLARE_TEST(BOOST_PLAT_MINGW,BOOST_PLAT_MINGW_NAME)
0066
0067 #ifdef BOOST_PLAT_MINGW_EMULATED
0068 #include <boost/predef/detail/test.h>
0069 BOOST_PREDEF_DECLARE_TEST(BOOST_PLAT_MINGW_EMULATED,BOOST_PLAT_MINGW_NAME)
0070 #endif