2 Copyright Rene Rivera 2015
3 Distributed under the Boost Software License, Version 1.0.
4 (See accompanying file LICENSE_1_0.txt or copy at
5 http://www.boost.org/LICENSE_1_0.txt)
8 #ifndef BOOST_PREDEF_OS_ANDROID_H
9 #define BOOST_PREDEF_OS_ANDROID_H
11 #include <boost/predef/version_number.h>
12 #include <boost/predef/make.h>
15 [heading `BOOST_OS_ANDROID`]
17 NOTE: `BOOST_OS_ANDROID` is deprecated, and will be removed in a following release.
18 Please use `BOOST_PLAT_ANDROID` instead.
20 [@http://en.wikipedia.org/wiki/Android_%28operating_system%29 Android] operating system.
23 [[__predef_symbol__] [__predef_version__]]
25 [[`__ANDROID__`] [__predef_detection__]]
29 #define BOOST_OS_ANDROID BOOST_VERSION_NUMBER_NOT_AVAILABLE
31 #if !defined(BOOST_PREDEF_DETAIL_OS_DETECTED) && ( \
32 defined(__ANDROID__) \
34 # undef BOOST_OS_ANDROID
35 # define BOOST_OS_ANDROID BOOST_VERSION_NUMBER_AVAILABLE
39 # define BOOST_OS_ANDROID_AVAILABLE
40 # include <boost/predef/detail/os_detected.h>
43 #define BOOST_OS_ANDROID_NAME "Android"
47 #include <boost/predef/detail/test.h>
48 BOOST_PREDEF_DECLARE_TEST(BOOST_OS_ANDROID,BOOST_OS_ANDROID_NAME)