1
0
Fork 0
mirror of https://github.com/bolero-MURAKAMI/Sprout synced 2024-11-12 21:09:01 +00:00
Sprout/sprout/predef/platform/windows_phone.hpp
2017-07-29 14:20:01 +09:00

28 lines
1 KiB
C++

/*=============================================================================
Copyright (c) 2011-2017 Bolero MURAKAMI
https://github.com/bolero-MURAKAMI/Sprout
Distributed under the sprout Software License, Version 1.0. (See accompanying
file LICENSE_1_0.txt or copy at http://www.sprout.org/LICENSE_1_0.txt)
=============================================================================*/
#ifndef SPROUT_PREDEF_PLATFORM_WINDOWS_PHONE_HPP
#define SPROUT_PREDEF_PLATFORM_WINDOWS_PHONE_HPP
#include <sprout/config.hpp>
#include <sprout/predef/os/windows.hpp>
#define SPROUT_PLAT_WINDOWS_PHONE 0
#if SPROUT_OS_WINDOWS && defined(WINAPI_FAMILY) && WINAPI_FAMILY == WINAPI_FAMILY_PHONE_APP
# undef SPROUT_PLAT_WINDOWS_PHONE
# define SPROUT_PLAT_WINDOWS_PHONE 1
#endif
#if SPROUT_PLAT_WINDOWS_PHONE
# define SPROUT_PLAT_WINDOWS_PHONE_AVALIABLE
# include <sprout/predef/detail/platform_detected.hpp>
#endif
#define SPROUT_PLAT_WINDOWS_PHONE_NAME "Windows Phone"
#endif // #ifndef SPROUT_PREDEF_PLATFORM_WINDOWS_PHONE_HPP