Sprout/sprout/predef/platform/windows_phone.hpp

29 lines
1 KiB
C++
Raw Normal View History

/*=============================================================================
Copyright (c) 2011-2015 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