MessagePack for C
uc.h
Go to the documentation of this file.
1 /*
2 Copyright Rene Rivera 2008-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 MSGPACK_PREDEF_LIBRARY_C_UC_H
9 #define MSGPACK_PREDEF_LIBRARY_C_UC_H
10 
12 
14 #include <msgpack/predef/make.h>
15 
16 /*`
17 [heading `MSGPACK_LIB_C_UC`]
18 
19 [@http://en.wikipedia.org/wiki/Uclibc uClibc] Standard C library.
20 
21 [table
22  [[__predef_symbol__] [__predef_version__]]
23 
24  [[`__UCLIBC__`] [__predef_detection__]]
25 
26  [[`__UCLIBC_MAJOR__`, `__UCLIBC_MINOR__`, `__UCLIBC_SUBLEVEL__`] [V.R.P]]
27  ]
28  */
29 
30 #define MSGPACK_LIB_C_UC MSGPACK_VERSION_NUMBER_NOT_AVAILABLE
31 
32 #if defined(__UCLIBC__)
33 # undef MSGPACK_LIB_C_UC
34 # define MSGPACK_LIB_C_UC MSGPACK_VERSION_NUMBER(\
35  __UCLIBC_MAJOR__,__UCLIBC_MINOR__,__UCLIBC_SUBLEVEL__)
36 #endif
37 
38 #if MSGPACK_LIB_C_UC
39 # define MSGPACK_LIB_C_UC_AVAILABLE
40 #endif
41 
42 #define MSGPACK_LIB_C_UC_NAME "uClibc"
43 
44 #endif
45 
#define MSGPACK_LIB_C_UC
Definition: uc.h:30
#define MSGPACK_PREDEF_DECLARE_TEST(x, s)
Definition: test.h:13
#define MSGPACK_LIB_C_UC_NAME
Definition: uc.h:42