MessagePack for C
msgpack
predef
library
c
cloudabi.h
Go to the documentation of this file.
1
/*
2
* Copyright (C) 2017 James E. King III
3
*
4
* Distributed under the Boost Software License, Version 1.0.
5
* (See accompanying file LICENSE_1_0.txt or copy at
6
* http://www.boost.org/LICENSE_1_0.txt)
7
*/
8
9
#ifndef MSGPACK_PREDEF_LIBRARY_C_CLOUDABI_H
10
#define MSGPACK_PREDEF_LIBRARY_C_CLOUDABI_H
11
12
#include <
msgpack/predef/version_number.h
>
13
#include <
msgpack/predef/make.h
>
14
15
#include <
msgpack/predef/library/c/_prefix.h
>
16
17
#if defined(__CloudABI__)
18
#include <stddef.h>
19
#endif
20
21
/*`
22
[heading `MSGPACK_LIB_C_CLOUDABI`]
23
24
[@https://github.com/NuxiNL/cloudlibc cloudlibc] - CloudABI's standard C library.
25
Version number available as major, and minor.
26
27
[table
28
[[__predef_symbol__] [__predef_version__]]
29
30
[[`__cloudlibc__`] [__predef_detection__]]
31
32
[[`__cloudlibc_major__`, `__cloudlibc_minor__`] [V.R.0]]
33
]
34
*/
35
36
#define MSGPACK_LIB_C_CLOUDABI MSGPACK_VERSION_NUMBER_NOT_AVAILABLE
37
38
#if defined(__cloudlibc__)
39
# undef MSGPACK_LIB_C_CLOUDABI
40
# define MSGPACK_LIB_C_CLOUDABI \
41
MSGPACK_VERSION_NUMBER(__cloudlibc_major__,__cloudlibc_minor__,0)
42
#endif
43
44
#if MSGPACK_LIB_C_CLOUDABI
45
# define MSGPACK_LIB_C_CLOUDABI_AVAILABLE
46
#endif
47
48
#define MSGPACK_LIB_C_CLOUDABI_NAME "cloudlibc"
49
50
#endif
51
52
#include <
msgpack/predef/detail/test.h
>
53
MSGPACK_PREDEF_DECLARE_TEST
(
MSGPACK_LIB_C_CLOUDABI
,
MSGPACK_LIB_C_CLOUDABI_NAME
)
_prefix.h
version_number.h
test.h
MSGPACK_LIB_C_CLOUDABI
#define MSGPACK_LIB_C_CLOUDABI
Definition:
cloudabi.h:36
MSGPACK_PREDEF_DECLARE_TEST
#define MSGPACK_PREDEF_DECLARE_TEST(x, s)
Definition:
test.h:13
MSGPACK_LIB_C_CLOUDABI_NAME
#define MSGPACK_LIB_C_CLOUDABI_NAME
Definition:
cloudabi.h:48
make.h
Generated by
1.8.17