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_DESKTOP_H
0010 #define BOOST_PREDEF_PLAT_WINDOWS_DESKTOP_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_DESKTOP`
0019 
0020 https://docs.microsoft.com/en-us/windows/uwp/get-started/universal-application-platform-guide[UWP]
0021 for Windows Desktop development.  Also available if the Platform SDK is too
0022 old to support UWP.
0023 
0024 [options="header"]
0025 |===
0026 | {predef_symbol} | {predef_version}
0027 
0028 | `WINAPI_FAMILY == WINAPI_FAMILY_DESKTOP_APP` | {predef_detection}
0029 | `!BOOST_PLAT_WINDOWS_UWP` | {predef_detection}
0030 |===
0031 */ // end::reference[]
0032 
0033 #define BOOST_PLAT_WINDOWS_DESKTOP BOOST_VERSION_NUMBER_NOT_AVAILABLE
0034 
0035 #if BOOST_OS_WINDOWS && \
0036     ((defined(WINAPI_FAMILY_DESKTOP_APP) && WINAPI_FAMILY == WINAPI_FAMILY_DESKTOP_APP) || \
0037      !BOOST_PLAT_WINDOWS_UWP)
0038 #   undef BOOST_PLAT_WINDOWS_DESKTOP
0039 #   define BOOST_PLAT_WINDOWS_DESKTOP BOOST_VERSION_NUMBER_AVAILABLE
0040 #endif
0041  
0042 #if BOOST_PLAT_WINDOWS_DESKTOP
0043 #   define BOOST_PLAT_WINDOWS_DESKTOP_AVAILABLE
0044 #   include <boost/predef/detail/platform_detected.h>
0045 #endif
0046 
0047 #define BOOST_PLAT_WINDOWS_DESKTOP_NAME "Windows Desktop"
0048 
0049 #endif
0050 
0051 #include <boost/predef/detail/test.h>
0052 BOOST_PREDEF_DECLARE_TEST(BOOST_PLAT_WINDOWS_DESKTOP,BOOST_PLAT_WINDOWS_DESKTOP_NAME)