| 1 | /* |
| 2 | Copyright (c) Microsoft Corporation 2014 |
| 3 | Copyright Rene Rivera 2015 |
| 4 | Distributed under the Boost Software License, Version 1.0. |
| 5 | (See accompanying file LICENSE_1_0.txt or copy at |
| 6 | http://www.boost.org/LICENSE_1_0.txt) |
| 7 | */ |
| 8 | |
| 9 | #ifndef BOOST_PREDEF_PLAT_WINDOWS_PHONE_H |
| 10 | #define BOOST_PREDEF_PLAT_WINDOWS_PHONE_H |
| 11 | |
| 12 | #include <boost/predef/make.h> |
| 13 | #include <boost/predef/os/windows.h> |
| 14 | #include <boost/predef/platform/windows_uwp.h> |
| 15 | #include <boost/predef/version_number.h> |
| 16 | |
| 17 | /*` |
| 18 | [heading `BOOST_PLAT_WINDOWS_PHONE`] |
| 19 | |
| 20 | [@https://docs.microsoft.com/en-us/windows/uwp/get-started/universal-application-platform-guide UWP] |
| 21 | for Windows Phone development. |
| 22 | |
| 23 | [table |
| 24 | [[__predef_symbol__] [__predef_version__]] |
| 25 | |
| 26 | [[`WINAPI_FAMILY == WINAPI_FAMILY_PHONE_APP`] [__predef_detection__]] |
| 27 | ] |
| 28 | */ |
| 29 | |
| 30 | #define BOOST_PLAT_WINDOWS_PHONE BOOST_VERSION_NUMBER_NOT_AVAILABLE |
| 31 | |
| 32 | #if BOOST_OS_WINDOWS && \ |
| 33 | defined(WINAPI_FAMILY_PHONE_APP) && WINAPI_FAMILY == WINAPI_FAMILY_PHONE_APP |
| 34 | # undef BOOST_PLAT_WINDOWS_PHONE |
| 35 | # define BOOST_PLAT_WINDOWS_PHONE BOOST_VERSION_NUMBER_AVAILABLE |
| 36 | #endif |
| 37 | |
| 38 | #if BOOST_PLAT_WINDOWS_PHONE |
| 39 | # define BOOST_PLAT_WINDOWS_PHONE_AVAILABLE |
| 40 | # include <boost/predef/detail/platform_detected.h> |
| 41 | #endif |
| 42 | |
| 43 | #define BOOST_PLAT_WINDOWS_PHONE_NAME "Windows Phone" |
| 44 | |
| 45 | #endif |
| 46 | |
| 47 | #include <boost/predef/detail/test.h> |
| 48 | BOOST_PREDEF_DECLARE_TEST(BOOST_PLAT_WINDOWS_PHONE,BOOST_PLAT_WINDOWS_PHONE_NAME) |
| 49 | |