]> git.proxmox.com Git - ceph.git/blob - ceph/src/boost/boost/predef/platform/android.h
import new upstream nautilus stable release 14.2.8
[ceph.git] / ceph / src / boost / boost / predef / platform / android.h
1 /*
2 Copyright Rene Rivera 2015-2019
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)
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
14 /*`
15 [heading `BOOST_PLAT_ANDROID`]
16
17 [@http://en.wikipedia.org/wiki/Android_%28operating_system%29 Android] platform.
18
19 [table
20 [[__predef_symbol__] [__predef_version__]]
21
22 [[`__ANDROID__`] [__predef_detection__]]
23 ]
24 */
25
26 #define BOOST_PLAT_ANDROID BOOST_VERSION_NUMBER_NOT_AVAILABLE
27
28 #if defined(__ANDROID__)
29 # undef BOOST_PLAT_ANDROID
30 # define BOOST_PLAT_ANDROID BOOST_VERSION_NUMBER_AVAILABLE
31 #endif
32
33 #if BOOST_PLAT_ANDROID
34 # define BOOST_PLAT_ANDROID_AVAILABLE
35 # include <boost/predef/detail/platform_detected.h>
36 #endif
37
38 #define BOOST_PLAT_ANDROID_NAME "Android"
39
40 #endif
41
42 #include <boost/predef/detail/test.h>
43 BOOST_PREDEF_DECLARE_TEST(BOOST_PLAT_ANDROID,BOOST_PLAT_ANDROID_NAME)