1/*
2Copyright (c) Microsoft Corporation 2014
3Copyright Rene Rivera 2015
4Distributed under the Boost Software License, Version 1.0.
5(See accompanying file LICENSE_1_0.txt or copy at
6http://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/version_number.h>
13#include <boost/predef/make.h>
14#include <boost/predef/os/windows.h>
15
16/*`
17[heading `BOOST_PLAT_WINDOWS_PHONE`]
18
19[table
20 [[__predef_symbol__] [__predef_version__]]
21
22 [[`WINAPI_FAMILY == WINAPI_FAMILY_PHONE_APP`] [__predef_detection__]]
23 ]
24 */
25
26#define BOOST_PLAT_WINDOWS_PHONE BOOST_VERSION_NUMBER_NOT_AVAILABLE
27
28#if BOOST_OS_WINDOWS && defined(WINAPI_FAMILY) && WINAPI_FAMILY == WINAPI_FAMILY_PHONE_APP
29# undef BOOST_PLAT_WINDOWS_PHONE
30# define BOOST_PLAT_WINDOWS_PHONE BOOST_VERSION_NUMBER_AVAILABLE
31#endif
32
33#if BOOST_PLAT_WINDOWS_PHONE
34# define BOOST_PLAT_WINDOWS_PHONE_AVAILABLE
35# include <boost/predef/detail/platform_detected.h>
36#endif
37
38#define BOOST_PLAT_WINDOWS_PHONE_NAME "Windows Phone"
39
40#endif
41
42#include <boost/predef/detail/test.h>
43BOOST_PREDEF_DECLARE_TEST(BOOST_PLAT_WINDOWS_PHONE,BOOST_PLAT_WINDOWS_PHONE_NAME)
44