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