Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-01-18 09:48:06

0001 /*
0002 Copyright (c) Microsoft Corporation 2014
0003 Copyright Rene Rivera 2015
0004 Distributed under the Boost Software License, Version 1.0.
0005 (See accompanying file LICENSE_1_0.txt or copy at
0006 http://www.boost.org/LICENSE_1_0.txt)
0007 */
0008 
0009 #ifndef BOOST_PREDEF_PLAT_WINDOWS_PHONE_H
0010 #define BOOST_PREDEF_PLAT_WINDOWS_PHONE_H
0011 
0012 #include <boost/predef/make.h>
0013 #include <boost/predef/os/windows.h>
0014 #include <boost/predef/platform/windows_uwp.h>
0015 #include <boost/predef/version_number.h>
0016 
0017 /* tag::reference[]
0018 = `BOOST_PLAT_WINDOWS_PHONE`
0019 
0020 https://docs.microsoft.com/en-us/windows/uwp/get-started/universal-application-platform-guide[UWP]
0021 for Windows Phone development.
0022 
0023 [options="header"]
0024 |===
0025 | {predef_symbol} | {predef_version}
0026 
0027 | `WINAPI_FAMILY == WINAPI_FAMILY_PHONE_APP` | {predef_detection}
0028 |===
0029 */ // end::reference[]
0030 
0031 #define BOOST_PLAT_WINDOWS_PHONE BOOST_VERSION_NUMBER_NOT_AVAILABLE
0032 
0033 #if BOOST_OS_WINDOWS && \
0034     defined(WINAPI_FAMILY_PHONE_APP) && WINAPI_FAMILY == WINAPI_FAMILY_PHONE_APP
0035 #   undef BOOST_PLAT_WINDOWS_PHONE
0036 #   define BOOST_PLAT_WINDOWS_PHONE BOOST_VERSION_NUMBER_AVAILABLE
0037 #endif
0038  
0039 #if BOOST_PLAT_WINDOWS_PHONE
0040 #   define BOOST_PLAT_WINDOWS_PHONE_AVAILABLE
0041 #   include <boost/predef/detail/platform_detected.h>
0042 #endif
0043 
0044 #define BOOST_PLAT_WINDOWS_PHONE_NAME "Windows Phone"
0045 
0046 #endif
0047 
0048 #include <boost/predef/detail/test.h>
0049 BOOST_PREDEF_DECLARE_TEST(BOOST_PLAT_WINDOWS_PHONE,BOOST_PLAT_WINDOWS_PHONE_NAME)