MessagePack for C
Loading...
Searching...
No Matches
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
13#include <msgpack/predef/make.h>
14
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.
25Version 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
#define MSGPACK_LIB_C_CLOUDABI
Definition cloudabi.h:36
#define MSGPACK_LIB_C_CLOUDABI_NAME
Definition cloudabi.h:48
#define MSGPACK_PREDEF_DECLARE_TEST(x, s)
Definition test.h:13