src
boost
predef
os
android.h
Go to the documentation of this file.
1
/*
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)
6
*/
7
8
#ifndef BOOST_PREDEF_OS_ADROID_H
9
#define BOOST_PREDEF_OS_ADROID_H
10
11
#include <
boost/predef/version_number.h
>
12
#include <
boost/predef/make.h
>
13
14
/*`
15
[heading `BOOST_OS_ANDROID`]
16
17
[@http://en.wikipedia.org/wiki/Android_%28operating_system%29 Android] operating system.
18
19
[table
20
[[__predef_symbol__] [__predef_version__]]
21
22
[[`__ANDROID__`] [__predef_detection__]]
23
]
24
*/
25
26
#define BOOST_OS_ANDROID BOOST_VERSION_NUMBER_NOT_AVAILABLE
27
28
#if !defined(BOOST_PREDEF_DETAIL_OS_DETECTED) && ( \
29
defined(__ANDROID__) \
30
)
31
# undef BOOST_OS_ANDROID
32
# define BOOST_OS_ANDROID BOOST_VERSION_NUMBER_AVAILABLE
33
#endif
34
35
#if BOOST_OS_ANDROID
36
# define BOOST_OS_ANDROID_AVAILABLE
37
# include <boost/predef/detail/os_detected.h>
38
#endif
39
40
#define BOOST_OS_ANDROID_NAME "Android"
41
42
#endif
43
44
#include <
boost/predef/detail/test.h
>
45
BOOST_PREDEF_DECLARE_TEST
(
BOOST_OS_ANDROID
,
BOOST_OS_ANDROID_NAME
)
BOOST_OS_ANDROID_NAME
#define BOOST_OS_ANDROID_NAME
Definition:
android.h:40
version_number.h
BOOST_OS_ANDROID
#define BOOST_OS_ANDROID
Definition:
android.h:26
test.h
BOOST_PREDEF_DECLARE_TEST
#define BOOST_PREDEF_DECLARE_TEST(x, s)
Definition:
test.h:13
make.h
cv_bridge
Author(s): Patrick Mihelich, James Bowman
autogenerated on Wed Aug 21 2024 02:46:59