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)
9 #ifndef BOOST_PREDEF_PLAT_WINDOWS_DESKTOP_H
10 #define BOOST_PREDEF_PLAT_WINDOWS_DESKTOP_H
12 #include <boost/predef/version_number.h>
13 #include <boost/predef/make.h>
14 #include <boost/predef/os/windows.h>
17 [heading `BOOST_PLAT_WINDOWS_DESKTOP`]
20 [[__predef_symbol__] [__predef_version__]]
22 [[`!WINAPI_FAMILY`] [__predef_detection__]]
23 [[`WINAPI_FAMILY == WINAPI_FAMILY_DESKTOP_APP`] [__predef_detection__]]
27 #define BOOST_PLAT_WINDOWS_DESKTOP BOOST_VERSION_NUMBER_NOT_AVAILABLE
29 #if BOOST_OS_WINDOWS && \
30 ( !defined(WINAPI_FAMILY) || (WINAPI_FAMILY == WINAPI_FAMILY_DESKTOP_APP) )
31 # undef BOOST_PLAT_WINDOWS_DESKTOP
32 # define BOOST_PLAT_WINDOWS_DESKTOP BOOST_VERSION_NUMBER_AVAILABLE
35 #if BOOST_PLAT_WINDOWS_DESKTOP
36 # define BOOST_PLAT_WINDOWS_DESKTOP_AVAILABLE
37 # include <boost/predef/detail/platform_detected.h>
40 #define BOOST_PLAT_WINDOWS_DESKTOP_NAME "Windows Desktop"
44 #include <boost/predef/detail/test.h>
45 BOOST_PREDEF_DECLARE_TEST(BOOST_PLAT_WINDOWS_DESKTOP,BOOST_PLAT_WINDOWS_DESKTOP_NAME)