]> git.proxmox.com Git - ceph.git/blame - ceph/src/boost/boost/predef/platform/android.h
update source to Ceph Pacific 16.2.2
[ceph.git] / ceph / src / boost / boost / predef / platform / android.h
CommitLineData
92f5a8d4
TL
1/*
2Copyright Rene Rivera 2015-2019
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_PLAT_ANDROID_H
9#define BOOST_PREDEF_PLAT_ANDROID_H
10
11#include <boost/predef/version_number.h>
12#include <boost/predef/make.h>
13
f67539c2
TL
14/* tag::reference[]
15= `BOOST_PLAT_ANDROID`
92f5a8d4 16
f67539c2 17http://en.wikipedia.org/wiki/Android_%28operating_system%29[Android] platform.
92f5a8d4 18
f67539c2
TL
19[options="header"]
20|===
21| {predef_symbol} | {predef_version}
92f5a8d4 22
f67539c2
TL
23| `+__ANDROID__+` | {predef_detection}
24|===
25*/ // end::reference[]
92f5a8d4
TL
26
27#define BOOST_PLAT_ANDROID BOOST_VERSION_NUMBER_NOT_AVAILABLE
28
29#if defined(__ANDROID__)
30# undef BOOST_PLAT_ANDROID
31# define BOOST_PLAT_ANDROID BOOST_VERSION_NUMBER_AVAILABLE
32#endif
33
34#if BOOST_PLAT_ANDROID
35# define BOOST_PLAT_ANDROID_AVAILABLE
36# include <boost/predef/detail/platform_detected.h>
37#endif
38
39#define BOOST_PLAT_ANDROID_NAME "Android"
40
41#endif
42
43#include <boost/predef/detail/test.h>
44BOOST_PREDEF_DECLARE_TEST(BOOST_PLAT_ANDROID,BOOST_PLAT_ANDROID_NAME)