Sprout/sprout/predef/platform/windows_runtime.hpp
2016-04-05 11:57:06 +09:00

28 lines
1.1 KiB
C++

/*=============================================================================
Copyright (c) 2011-2016 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_RUNTIME_HPP
#define SPROUT_PREDEF_PLATFORM_WINDOWS_RUNTIME_HPP
#include <sprout/config.hpp>
#include <sprout/predef/os/windows.hpp>
#define SPROUT_PLAT_WINDOWS_RUNTIME 0
#if SPROUT_OS_WINDOWS && defined(WINAPI_FAMILY) && (WINAPI_FAMILY == WINAPI_FAMILY_APP || WINAPI_FAMILY == WINAPI_FAMILY_PHONE_APP)
# undef SPROUT_PLAT_WINDOWS_RUNTIME
# define SPROUT_PLAT_WINDOWS_RUNTIME 1
#endif
#if SPROUT_PLAT_WINDOWS_RUNTIME
# define SPROUT_PLAT_WINDOWS_RUNTIME_AVALIABLE
# include <sprout/predef/detail/platform_detected.hpp>
#endif
#define SPROUT_PLAT_WINDOWS_RUNTIME_NAME "Windows Runtime"
#endif // #ifndef SPROUT_PREDEF_PLATFORM_WINDOWS_RUNTIME_HPP