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_runtime.hpp

29 lines
1.1 KiB
C++
Raw Normal View History

/*=============================================================================
2016-02-25 09:48:28 +00:00
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
2016-04-05 02:57:06 +00:00
#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