]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/boost/boost/winapi/config.hpp
update ceph source to reef 18.1.2
[ceph.git] / ceph / src / boost / boost / winapi / config.hpp
index 9621ea10fc5405165ad7a014b17c5b79044a2769..d15e93d201728205b1ca80f57e52ab972bc01175 100644 (file)
 // the header defines the macro unconditionally and if the user includes both Boost.WinAPI and Cygwin WinAPI headers there will be conflict.
 #include <_cygwin.h>
 #endif
+#if defined(__MINGW32__)
+// MinGW and MinGW-w64 define __MINGW32_VERSION_MAJOR/MINOR and __MINGW64_VERSION_MAJOR/MINOR macros in a private header.
+#include <_mingw.h>
+#endif
 
 // BOOST_WINAPI_IS_MINGW indicates that the target Windows SDK is provided by MinGW (http://mingw.org/).
 // BOOST_WINAPI_IS_MINGW_W64 indicates that the target Windows SDK is provided by MinGW-w64 (http://mingw-w64.org).