mirror of
https://github.com/bolero-MURAKAMI/Sprout.git
synced 2024-12-27 21:45:42 +00:00
27 lines
994 B
C++
27 lines
994 B
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_OS_IOS_HPP
|
|
#define SPROUT_PREDEF_OS_IOS_HPP
|
|
|
|
#include <sprout/config.hpp>
|
|
|
|
#define SPROUT_OS_IOS 0
|
|
|
|
#if !defined(SPROUT_PREDEF_DETAIL_OS_DETECTED) && (defined(__APPLE__) && defined(__MACH__) && defined(__ENVIRONMENT_IPHONE_OS_VERSION_MIN_REQUIRED__))
|
|
# undef SPROUT_OS_IOS
|
|
# define SPROUT_OS_IOS (__ENVIRONMENT_IPHONE_OS_VERSION_MIN_REQUIRED__ * 1000)
|
|
#endif
|
|
|
|
#if SPROUT_OS_IOS
|
|
# define SPROUT_OS_IOS_AVAILABLE
|
|
# include <sprout/predef/detail/os_detected.hpp>
|
|
#endif
|
|
|
|
#define SPROUT_OS_IOS_NAME "iOS"
|
|
|
|
#endif // #ifndef SPROUT_PREDEF_OS_IOS_HPP
|