]> git.proxmox.com Git - ceph.git/blob - ceph/src/boost/boost/predef/platform/mingw32.h
update sources to v12.2.3
[ceph.git] / ceph / src / boost / boost / predef / platform / mingw32.h
1 /*
2 Copyright Rene Rivera 2008-2015
3 Distributed under the Boost Software License, Version 1.0.
4 (See accompanying file LICENSE_1_0.txt or copy at
5 http://www.boost.org/LICENSE_1_0.txt)
6 */
7
8 #ifndef BOOST_PREDEF_PLAT_MINGW32_H
9 #define BOOST_PREDEF_PLAT_MINGW32_H
10
11 #include <boost/predef/version_number.h>
12 #include <boost/predef/make.h>
13
14 /*`
15 [heading `BOOST_PLAT_MINGW32`]
16
17 [@http://www.mingw.org/ MinGW] platform.
18 Version number available as major, minor, and patch.
19
20 [table
21 [[__predef_symbol__] [__predef_version__]]
22
23 [[`__MINGW32__`] [__predef_detection__]]
24
25 [[`__MINGW32_VERSION_MAJOR`, `__MINGW32_VERSION_MINOR`] [V.R.0]]
26 ]
27 */
28
29 #define BOOST_PLAT_MINGW32 BOOST_VERSION_NUMBER_NOT_AVAILABLE
30
31 #if defined(__MINGW32__)
32 # include <_mingw.h>
33 # if !defined(BOOST_PLAT_MINGW32_DETECTION) && (defined(__MINGW32_VERSION_MAJOR) && defined(__MINGW32_VERSION_MINOR))
34 # define BOOST_PLAT_MINGW32_DETECTION \
35 BOOST_VERSION_NUMBER(__MINGW32_VERSION_MAJOR,__MINGW32_VERSION_MINOR,0)
36 # endif
37 # if !defined(BOOST_PLAT_MINGW32_DETECTION)
38 # define BOOST_PLAT_MINGW32_DETECTION BOOST_VERSION_NUMBER_AVAILABLE
39 # endif
40 #endif
41
42 #ifdef BOOST_PLAT_MINGW32_DETECTION
43 # define BOOST_PLAT_MINGW32_AVAILABLE
44 # if defined(BOOST_PREDEF_DETAIL_PLAT_DETECTED)
45 # define BOOST_PLAT_MINGW32_EMULATED BOOST_PLAT_MINGW32_DETECTION
46 # else
47 # undef BOOST_PLAT_MINGW32
48 # define BOOST_PLAT_MINGW32 BOOST_PLAT_MINGW32_DETECTION
49 # endif
50 # include <boost/predef/detail/platform_detected.h>
51 #endif
52
53 #define BOOST_PLAT_MINGW32_NAME "MinGW"
54
55 #endif
56
57 #include <boost/predef/detail/test.h>
58 BOOST_PREDEF_DECLARE_TEST(BOOST_PLAT_MINGW32,BOOST_PLAT_MINGW32_NAME)
59
60 #ifdef BOOST_PLAT_MINGW32_EMULATED
61 #include <boost/predef/detail/test.h>
62 BOOST_PREDEF_DECLARE_TEST(BOOST_PLAT_MINGW32_EMULATED,BOOST_PLAT_MINGW32_NAME)
63 #endif