1/*
2Copyright (c) Microsoft Corporation 2014
3Distributed under the Boost Software License, Version 1.0.
4(See accompanying file LICENSE_1_0.txt or copy at
5http://www.boost.org/LICENSE_1_0.txt)
6*/
7
8#ifndef BOOST_PREDEF_PLAT_WINDOWS_DESKTOP_H
9#define BOOST_PREDEF_PLAT_WINDOWS_DESKTOP_H
10
11#include <boost/predef/version_number.h>
12#include <boost/predef/make.h>
13#include <boost/predef/os/windows.h>
14
15/*`
16[heading `BOOST_PLAT_WINDOWS_DESKTOP`]
17
18[table
19 [[__predef_symbol__] [__predef_version__]]
20
21 [[`!WINAPI_FAMILY`] [__predef_detection__]]
22 [[`WINAPI_FAMILY == WINAPI_FAMILY_DESKTOP_APP`] [__predef_detection__]]
23 ]
24 */
25
26#define BOOST_PLAT_WINDOWS_DESKTOP BOOST_VERSION_NUMBER_NOT_AVAILABLE
27
28#if BOOST_OS_WINDOWS && \
29 ( !defined(WINAPI_FAMILY) || (WINAPI_FAMILY == WINAPI_FAMILY_DESKTOP_APP) )
30# undef BOOST_PLAT_WINDOWS_DESKTOP
31# define BOOST_PLAT_WINDOWS_DESKTOP BOOST_VERSION_NUMBER_AVAILABLE
32#endif
33
34#if BOOST_PLAT_WINDOWS_DESKTOP
35# define BOOST_PLAT_WINDOWS_DESKTOP_AVALIABLE
36# include <boost/predef/detail/platform_detected.h>
37#endif
38
39#define BOOST_PLAT_WINDOWS_DESKTOP_NAME "Windows Desktop"
40
41#include <boost/predef/detail/test.h>
42BOOST_PREDEF_DECLARE_TEST(BOOST_PLAT_WINDOWS_DESKTOP,BOOST_PLAT_WINDOWS_DESKTOP_NAME)
43
44#endif
45