MessagePack for C
Loading...
Searching...
No Matches
android.h
Go to the documentation of this file.
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 MSGPACK_PREDEF_OS_ANDROID_H
9#define MSGPACK_PREDEF_OS_ANDROID_H
10
12#include <msgpack/predef/make.h>
13
14/*`
15[heading `MSGPACK_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 MSGPACK_OS_ANDROID MSGPACK_VERSION_NUMBER_NOT_AVAILABLE
27
28#if !defined(MSGPACK_PREDEF_DETAIL_OS_DETECTED) && ( \
29 defined(__ANDROID__) \
30 )
31# undef MSGPACK_OS_ANDROID
32# define MSGPACK_OS_ANDROID MSGPACK_VERSION_NUMBER_AVAILABLE
33#endif
34
35#if MSGPACK_OS_ANDROID
36# define MSGPACK_OS_ANDROID_AVAILABLE
38#endif
39
40#define MSGPACK_OS_ANDROID_NAME "Android"
41
42#endif
43
#define MSGPACK_OS_ANDROID_NAME
Definition android.h:40
#define MSGPACK_OS_ANDROID
Definition android.h:26
#define MSGPACK_PREDEF_DECLARE_TEST(x, s)
Definition test.h:13