update boost
This commit is contained in:
@@ -11,17 +11,18 @@ http://www.boost.org/LICENSE_1_0.txt)
|
||||
#include <boost/predef/version_number.h>
|
||||
#include <boost/predef/make.h>
|
||||
|
||||
/*`
|
||||
[heading `BOOST_PLAT_ANDROID`]
|
||||
/* tag::reference[]
|
||||
= `BOOST_PLAT_ANDROID`
|
||||
|
||||
[@http://en.wikipedia.org/wiki/Android_%28operating_system%29 Android] platform.
|
||||
http://en.wikipedia.org/wiki/Android_%28operating_system%29[Android] platform.
|
||||
|
||||
[table
|
||||
[[__predef_symbol__] [__predef_version__]]
|
||||
[options="header"]
|
||||
|===
|
||||
| {predef_symbol} | {predef_version}
|
||||
|
||||
[[`__ANDROID__`] [__predef_detection__]]
|
||||
]
|
||||
*/
|
||||
| `+__ANDROID__+` | {predef_detection}
|
||||
|===
|
||||
*/ // end::reference[]
|
||||
|
||||
#define BOOST_PLAT_ANDROID BOOST_VERSION_NUMBER_NOT_AVAILABLE
|
||||
|
||||
|
||||
@@ -11,17 +11,18 @@
|
||||
#include <boost/predef/version_number.h>
|
||||
#include <boost/predef/make.h>
|
||||
|
||||
/*`
|
||||
[heading `BOOST_PLAT_CLOUDABI`]
|
||||
/* tag::reference[]
|
||||
= `BOOST_PLAT_CLOUDABI`
|
||||
|
||||
[@https://github.com/NuxiNL/cloudabi CloudABI] platform.
|
||||
https://github.com/NuxiNL/cloudabi[CloudABI] platform.
|
||||
|
||||
[table
|
||||
[[__predef_symbol__] [__predef_version__]]
|
||||
[options="header"]
|
||||
|===
|
||||
| {predef_symbol} | {predef_version}
|
||||
|
||||
[[`__CloudABI__`] [__predef_detection__]]
|
||||
]
|
||||
*/
|
||||
| `+__CloudABI__+` | {predef_detection}
|
||||
|===
|
||||
*/ // end::reference[]
|
||||
|
||||
#define BOOST_PLAT_CLOUDABI BOOST_VERSION_NUMBER_NOT_AVAILABLE
|
||||
|
||||
|
||||
@@ -12,17 +12,18 @@ http://www.boost.org/LICENSE_1_0.txt)
|
||||
#include <boost/predef/os/ios.h> // BOOST_OS_IOS
|
||||
#include <boost/predef/version_number.h> // BOOST_VERSION_NUMBER_NOT_AVAILABLE
|
||||
|
||||
/*`
|
||||
[heading `BOOST_PLAT_IOS_DEVICE`]
|
||||
[heading `BOOST_PLAT_IOS_SIMULATOR`]
|
||||
/* tag::reference[]
|
||||
= `BOOST_PLAT_IOS_DEVICE`
|
||||
= `BOOST_PLAT_IOS_SIMULATOR`
|
||||
|
||||
[table
|
||||
[[__predef_symbol__] [__predef_version__]]
|
||||
[options="header"]
|
||||
|===
|
||||
| {predef_symbol} | {predef_version}
|
||||
|
||||
[[`TARGET_IPHONE_SIMULATOR`] [__predef_detection__]]
|
||||
[[`TARGET_OS_SIMULATOR`] [__predef_detection__]]
|
||||
]
|
||||
*/
|
||||
| `TARGET_IPHONE_SIMULATOR` | {predef_detection}
|
||||
| `TARGET_OS_SIMULATOR` | {predef_detection}
|
||||
|===
|
||||
*/ // end::reference[]
|
||||
|
||||
#define BOOST_PLAT_IOS_DEVICE BOOST_VERSION_NUMBER_NOT_AVAILABLE
|
||||
#define BOOST_PLAT_IOS_SIMULATOR BOOST_VERSION_NUMBER_NOT_AVAILABLE
|
||||
|
||||
@@ -11,22 +11,23 @@ http://www.boost.org/LICENSE_1_0.txt)
|
||||
#include <boost/predef/version_number.h>
|
||||
#include <boost/predef/make.h>
|
||||
|
||||
/*`
|
||||
[heading `BOOST_PLAT_MINGW`]
|
||||
/* tag::reference[]
|
||||
= `BOOST_PLAT_MINGW`
|
||||
|
||||
[@http://en.wikipedia.org/wiki/MinGW MinGW] platform, either variety.
|
||||
http://en.wikipedia.org/wiki/MinGW[MinGW] platform, either variety.
|
||||
Version number available as major, minor, and patch.
|
||||
|
||||
[table
|
||||
[[__predef_symbol__] [__predef_version__]]
|
||||
[options="header"]
|
||||
|===
|
||||
| {predef_symbol} | {predef_version}
|
||||
|
||||
[[`__MINGW32__`] [__predef_detection__]]
|
||||
[[`__MINGW64__`] [__predef_detection__]]
|
||||
| `+__MINGW32__+` | {predef_detection}
|
||||
| `+__MINGW64__+` | {predef_detection}
|
||||
|
||||
[[`__MINGW64_VERSION_MAJOR`, `__MINGW64_VERSION_MINOR`] [V.R.0]]
|
||||
[[`__MINGW32_VERSION_MAJOR`, `__MINGW32_VERSION_MINOR`] [V.R.0]]
|
||||
]
|
||||
*/
|
||||
| `+__MINGW64_VERSION_MAJOR+`, `+__MINGW64_VERSION_MINOR+` | V.R.0
|
||||
| `+__MINGW32_VERSION_MAJOR+`, `+__MINGW32_VERSION_MINOR+` | V.R.0
|
||||
|===
|
||||
*/ // end::reference[]
|
||||
|
||||
#define BOOST_PLAT_MINGW BOOST_VERSION_NUMBER_NOT_AVAILABLE
|
||||
|
||||
|
||||
@@ -11,20 +11,21 @@ http://www.boost.org/LICENSE_1_0.txt)
|
||||
#include <boost/predef/version_number.h>
|
||||
#include <boost/predef/make.h>
|
||||
|
||||
/*`
|
||||
[heading `BOOST_PLAT_MINGW32`]
|
||||
/* tag::reference[]
|
||||
= `BOOST_PLAT_MINGW32`
|
||||
|
||||
[@http://www.mingw.org/ MinGW] platform.
|
||||
http://www.mingw.org/[MinGW] platform.
|
||||
Version number available as major, minor, and patch.
|
||||
|
||||
[table
|
||||
[[__predef_symbol__] [__predef_version__]]
|
||||
[options="header"]
|
||||
|===
|
||||
| {predef_symbol} | {predef_version}
|
||||
|
||||
[[`__MINGW32__`] [__predef_detection__]]
|
||||
| `+__MINGW32__+` | {predef_detection}
|
||||
|
||||
[[`__MINGW32_VERSION_MAJOR`, `__MINGW32_VERSION_MINOR`] [V.R.0]]
|
||||
]
|
||||
*/
|
||||
| `+__MINGW32_VERSION_MAJOR+`, `+__MINGW32_VERSION_MINOR+` | V.R.0
|
||||
|===
|
||||
*/ // end::reference[]
|
||||
|
||||
#define BOOST_PLAT_MINGW32 BOOST_VERSION_NUMBER_NOT_AVAILABLE
|
||||
|
||||
|
||||
@@ -11,20 +11,21 @@ http://www.boost.org/LICENSE_1_0.txt)
|
||||
#include <boost/predef/version_number.h>
|
||||
#include <boost/predef/make.h>
|
||||
|
||||
/*`
|
||||
[heading `BOOST_PLAT_MINGW64`]
|
||||
/* tag::reference[]
|
||||
= `BOOST_PLAT_MINGW64`
|
||||
|
||||
[@https://mingw-w64.org/ MinGW-w64] platform.
|
||||
https://mingw-w64.org/[MinGW-w64] platform.
|
||||
Version number available as major, minor, and patch.
|
||||
|
||||
[table
|
||||
[[__predef_symbol__] [__predef_version__]]
|
||||
[options="header"]
|
||||
|===
|
||||
| {predef_symbol} | {predef_version}
|
||||
|
||||
[[`__MINGW64__`] [__predef_detection__]]
|
||||
| `+__MINGW64__+` | {predef_detection}
|
||||
|
||||
[[`__MINGW64_VERSION_MAJOR`, `__MINGW64_VERSION_MINOR`] [V.R.0]]
|
||||
]
|
||||
*/
|
||||
| `+__MINGW64_VERSION_MAJOR+`, `+__MINGW64_VERSION_MINOR+` | V.R.0
|
||||
|===
|
||||
*/ // end::reference[]
|
||||
|
||||
#define BOOST_PLAT_MINGW64 BOOST_VERSION_NUMBER_NOT_AVAILABLE
|
||||
|
||||
|
||||
@@ -14,20 +14,21 @@ http://www.boost.org/LICENSE_1_0.txt)
|
||||
#include <boost/predef/platform/windows_uwp.h>
|
||||
#include <boost/predef/version_number.h>
|
||||
|
||||
/*`
|
||||
[heading `BOOST_PLAT_WINDOWS_DESKTOP`]
|
||||
/* tag::reference[]
|
||||
= `BOOST_PLAT_WINDOWS_DESKTOP`
|
||||
|
||||
[@https://docs.microsoft.com/en-us/windows/uwp/get-started/universal-application-platform-guide UWP]
|
||||
https://docs.microsoft.com/en-us/windows/uwp/get-started/universal-application-platform-guide[UWP]
|
||||
for Windows Desktop development. Also available if the Platform SDK is too
|
||||
old to support UWP.
|
||||
|
||||
[table
|
||||
[[__predef_symbol__] [__predef_version__]]
|
||||
[options="header"]
|
||||
|===
|
||||
| {predef_symbol} | {predef_version}
|
||||
|
||||
[[`WINAPI_FAMILY == WINAPI_FAMILY_DESKTOP_APP`] [__predef_detection__]]
|
||||
[[`!BOOST_PLAT_WINDOWS_UWP`] [__predef_detection__]]
|
||||
]
|
||||
*/
|
||||
| `WINAPI_FAMILY == WINAPI_FAMILY_DESKTOP_APP` | {predef_detection}
|
||||
| `!BOOST_PLAT_WINDOWS_UWP` | {predef_detection}
|
||||
|===
|
||||
*/ // end::reference[]
|
||||
|
||||
#define BOOST_PLAT_WINDOWS_DESKTOP BOOST_VERSION_NUMBER_NOT_AVAILABLE
|
||||
|
||||
|
||||
@@ -14,18 +14,19 @@ http://www.boost.org/LICENSE_1_0.txt)
|
||||
#include <boost/predef/platform/windows_uwp.h>
|
||||
#include <boost/predef/version_number.h>
|
||||
|
||||
/*`
|
||||
[heading `BOOST_PLAT_WINDOWS_PHONE`]
|
||||
/* tag::reference[]
|
||||
= `BOOST_PLAT_WINDOWS_PHONE`
|
||||
|
||||
[@https://docs.microsoft.com/en-us/windows/uwp/get-started/universal-application-platform-guide UWP]
|
||||
https://docs.microsoft.com/en-us/windows/uwp/get-started/universal-application-platform-guide[UWP]
|
||||
for Windows Phone development.
|
||||
|
||||
[table
|
||||
[[__predef_symbol__] [__predef_version__]]
|
||||
[options="header"]
|
||||
|===
|
||||
| {predef_symbol} | {predef_version}
|
||||
|
||||
[[`WINAPI_FAMILY == WINAPI_FAMILY_PHONE_APP`] [__predef_detection__]]
|
||||
]
|
||||
*/
|
||||
| `WINAPI_FAMILY == WINAPI_FAMILY_PHONE_APP` | {predef_detection}
|
||||
|===
|
||||
*/ // end::reference[]
|
||||
|
||||
#define BOOST_PLAT_WINDOWS_PHONE BOOST_VERSION_NUMBER_NOT_AVAILABLE
|
||||
|
||||
|
||||
@@ -15,22 +15,23 @@ http://www.boost.org/LICENSE_1_0.txt)
|
||||
#include <boost/predef/platform/windows_store.h>
|
||||
#include <boost/predef/version_number.h>
|
||||
|
||||
/*`
|
||||
[heading `BOOST_PLAT_WINDOWS_RUNTIME`]
|
||||
/* tag::reference[]
|
||||
= `BOOST_PLAT_WINDOWS_RUNTIME`
|
||||
|
||||
Deprecated.
|
||||
|
||||
[@https://docs.microsoft.com/en-us/windows/uwp/get-started/universal-application-platform-guide UWP]
|
||||
https://docs.microsoft.com/en-us/windows/uwp/get-started/universal-application-platform-guide[UWP]
|
||||
for Windows Phone or Store development. This does not align to the existing development model for
|
||||
UWP and is deprecated. Use one of the other `BOOST_PLAT_WINDOWS_*`definitions instead.
|
||||
|
||||
[table
|
||||
[[__predef_symbol__] [__predef_version__]]
|
||||
[options="header"]
|
||||
|===
|
||||
| {predef_symbol} | {predef_version}
|
||||
|
||||
[[`BOOST_PLAT_WINDOWS_PHONE`] [__predef_detection__]]
|
||||
[[`BOOST_PLAT_WINDOWS_STORE`] [__predef_detection__]]
|
||||
]
|
||||
*/
|
||||
| `BOOST_PLAT_WINDOWS_PHONE` | {predef_detection}
|
||||
| `BOOST_PLAT_WINDOWS_STORE` | {predef_detection}
|
||||
|===
|
||||
*/ // end::reference[]
|
||||
|
||||
#define BOOST_PLAT_WINDOWS_RUNTIME BOOST_VERSION_NUMBER_NOT_AVAILABLE
|
||||
|
||||
|
||||
@@ -13,18 +13,19 @@ http://www.boost.org/LICENSE_1_0.txt)
|
||||
#include <boost/predef/platform/windows_uwp.h>
|
||||
#include <boost/predef/version_number.h>
|
||||
|
||||
/*`
|
||||
[heading `BOOST_PLAT_WINDOWS_SERVER`]
|
||||
/* tag::reference[]
|
||||
= `BOOST_PLAT_WINDOWS_SERVER`
|
||||
|
||||
[@https://docs.microsoft.com/en-us/windows/uwp/get-started/universal-application-platform-guide UWP]
|
||||
https://docs.microsoft.com/en-us/windows/uwp/get-started/universal-application-platform-guide[UWP]
|
||||
for Windows Server development.
|
||||
|
||||
[table
|
||||
[[__predef_symbol__] [__predef_version__]]
|
||||
[options="header"]
|
||||
|===
|
||||
| {predef_symbol} | {predef_version}
|
||||
|
||||
[[`WINAPI_FAMILY == WINAPI_FAMILY_SERVER`] [__predef_detection__]]
|
||||
]
|
||||
*/
|
||||
| `WINAPI_FAMILY == WINAPI_FAMILY_SERVER` | {predef_detection}
|
||||
|===
|
||||
*/ // end::reference[]
|
||||
|
||||
#define BOOST_PLAT_WINDOWS_SERVER BOOST_VERSION_NUMBER_NOT_AVAILABLE
|
||||
|
||||
|
||||
@@ -14,19 +14,20 @@ http://www.boost.org/LICENSE_1_0.txt)
|
||||
#include <boost/predef/platform/windows_uwp.h>
|
||||
#include <boost/predef/version_number.h>
|
||||
|
||||
/*`
|
||||
[heading `BOOST_PLAT_WINDOWS_STORE`]
|
||||
/* tag::reference[]
|
||||
= `BOOST_PLAT_WINDOWS_STORE`
|
||||
|
||||
[@https://docs.microsoft.com/en-us/windows/uwp/get-started/universal-application-platform-guide UWP]
|
||||
https://docs.microsoft.com/en-us/windows/uwp/get-started/universal-application-platform-guide[UWP]
|
||||
for Windows Store development.
|
||||
|
||||
[table
|
||||
[[__predef_symbol__] [__predef_version__]]
|
||||
[options="header"]
|
||||
|===
|
||||
| {predef_symbol} | {predef_version}
|
||||
|
||||
[[`WINAPI_FAMILY == WINAPI_FAMILY_PC_APP`] [__predef_detection__]]
|
||||
[[`WINAPI_FAMILY == WINAPI_FAMILY_APP` (deprecated)] [__predef_detection__]]
|
||||
]
|
||||
*/
|
||||
| `WINAPI_FAMILY == WINAPI_FAMILY_PC_APP` | {predef_detection}
|
||||
| `WINAPI_FAMILY == WINAPI_FAMILY_APP` (deprecated) | {predef_detection}
|
||||
|===
|
||||
*/ // end::reference[]
|
||||
|
||||
#define BOOST_PLAT_WINDOWS_STORE BOOST_VERSION_NUMBER_NOT_AVAILABLE
|
||||
|
||||
|
||||
@@ -13,18 +13,19 @@ http://www.boost.org/LICENSE_1_0.txt)
|
||||
#include <boost/predef/platform/windows_uwp.h>
|
||||
#include <boost/predef/version_number.h>
|
||||
|
||||
/*`
|
||||
[heading `BOOST_PLAT_WINDOWS_SYSTEM`]
|
||||
/* tag::reference[]
|
||||
= `BOOST_PLAT_WINDOWS_SYSTEM`
|
||||
|
||||
[@https://docs.microsoft.com/en-us/windows/uwp/get-started/universal-application-platform-guide UWP]
|
||||
https://docs.microsoft.com/en-us/windows/uwp/get-started/universal-application-platform-guide[UWP]
|
||||
for Windows System development.
|
||||
|
||||
[table
|
||||
[[__predef_symbol__] [__predef_version__]]
|
||||
[options="header"]
|
||||
|===
|
||||
| {predef_symbol} | {predef_version}
|
||||
|
||||
[[`WINAPI_FAMILY == WINAPI_FAMILY_SYSTEM`] [__predef_detection__]]
|
||||
]
|
||||
*/
|
||||
| `WINAPI_FAMILY == WINAPI_FAMILY_SYSTEM` | {predef_detection}
|
||||
|===
|
||||
*/ // end::reference[]
|
||||
|
||||
#define BOOST_PLAT_WINDOWS_SYSTEM BOOST_VERSION_NUMBER_NOT_AVAILABLE
|
||||
|
||||
|
||||
@@ -12,27 +12,28 @@ http://www.boost.org/LICENSE_1_0.txt)
|
||||
#include <boost/predef/os/windows.h>
|
||||
#include <boost/predef/version_number.h>
|
||||
|
||||
/*`
|
||||
[heading `BOOST_PLAT_WINDOWS_UWP`]
|
||||
/* tag::reference[]
|
||||
= `BOOST_PLAT_WINDOWS_UWP`
|
||||
|
||||
[@http://docs.microsoft.com/windows/uwp/ Universal Windows Platform]
|
||||
http://docs.microsoft.com/windows/uwp/[Universal Windows Platform]
|
||||
is available if the current development environment is capable of targeting
|
||||
UWP development.
|
||||
|
||||
[table
|
||||
[[__predef_symbol__] [__predef_version__]]
|
||||
[options="header"]
|
||||
|===
|
||||
| {predef_symbol} | {predef_version}
|
||||
|
||||
[[`__MINGW64_VERSION_MAJOR` from `_mingw.h`] [`>= 3`]]
|
||||
[[`VER_PRODUCTBUILD` from `ntverp.h`] [`>= 9200`]]
|
||||
]
|
||||
*/
|
||||
| `+__MINGW64_VERSION_MAJOR+` from `+_mingw.h+` | `>= 3`
|
||||
| `VER_PRODUCTBUILD` from `ntverp.h` | `>= 9200`
|
||||
|===
|
||||
*/ // end::reference[]
|
||||
|
||||
#define BOOST_PLAT_WINDOWS_UWP BOOST_VERSION_NUMBER_NOT_AVAILABLE
|
||||
#define BOOST_PLAT_WINDOWS_SDK_VERSION BOOST_VERSION_NUMBER_NOT_AVAILABLE
|
||||
|
||||
#if BOOST_OS_WINDOWS
|
||||
// MinGW (32-bit) has no ntverp.h header
|
||||
#if !defined(__MINGW32__)
|
||||
// MinGW (32-bit), WinCE, and wineg++ don't have a ntverp.h header
|
||||
#if !defined(__MINGW32__) && !defined(_WIN32_WCE) && !defined(__WINE__)
|
||||
# include <ntverp.h>
|
||||
# undef BOOST_PLAT_WINDOWS_SDK_VERSION
|
||||
# define BOOST_PLAT_WINDOWS_SDK_VERSION BOOST_VERSION_NUMBER(0, 0, VER_PRODUCTBUILD)
|
||||
|
||||
Reference in New Issue
Block a user