diff options
author | Andrej Rode <andrej.rode@ettus.com> | 2017-04-03 18:49:58 -0700 |
---|---|---|
committer | Martin Braun <martin.braun@ettus.com> | 2017-12-22 15:03:45 -0800 |
commit | 53795c74aead4e6021bc788b788f8ed5b4a0166d (patch) | |
tree | 45e4075f3d8ffdee7dff7c72dd665f5c5b0c746c /host/lib/deps/rpclib/include/rpc/msgpack/predef/detail | |
parent | 6a12add1560545438e1bebc05efbafd05aace4f9 (diff) | |
download | uhd-53795c74aead4e6021bc788b788f8ed5b4a0166d.tar.gz uhd-53795c74aead4e6021bc788b788f8ed5b4a0166d.tar.bz2 uhd-53795c74aead4e6021bc788b788f8ed5b4a0166d.zip |
uhd: add cut-down rpclib source tree and import tool
Diffstat (limited to 'host/lib/deps/rpclib/include/rpc/msgpack/predef/detail')
7 files changed, 105 insertions, 0 deletions
diff --git a/host/lib/deps/rpclib/include/rpc/msgpack/predef/detail/_cassert.h b/host/lib/deps/rpclib/include/rpc/msgpack/predef/detail/_cassert.h new file mode 100644 index 000000000..b1cb6bccc --- /dev/null +++ b/host/lib/deps/rpclib/include/rpc/msgpack/predef/detail/_cassert.h @@ -0,0 +1,17 @@ +/* +Copyright Rene Rivera 2011-2012 +Distributed under the Boost Software License, Version 1.0. +(See accompanying file LICENSE_1_0.txt or copy at +http://www.boost.org/LICENSE_1_0.txt) +*/ + +#ifndef MSGPACK_PREDEF_DETAIL__CASSERT_H +#define MSGPACK_PREDEF_DETAIL__CASSERT_H + +#if defined(__cpluplus) +#include <cassert> +#else +#include <assert.h> +#endif + +#endif diff --git a/host/lib/deps/rpclib/include/rpc/msgpack/predef/detail/_exception.h b/host/lib/deps/rpclib/include/rpc/msgpack/predef/detail/_exception.h new file mode 100644 index 000000000..963f37bc8 --- /dev/null +++ b/host/lib/deps/rpclib/include/rpc/msgpack/predef/detail/_exception.h @@ -0,0 +1,15 @@ +/* +Copyright Rene Rivera 2011-2012 +Distributed under the Boost Software License, Version 1.0. +(See accompanying file LICENSE_1_0.txt or copy at +http://www.boost.org/LICENSE_1_0.txt) +*/ + +#ifndef MSGPACK_PREDEF_DETAIL__EXCEPTION_H +#define MSGPACK_PREDEF_DETAIL__EXCEPTION_H + +#if defined(__cpluplus) +#include <exception> +#endif + +#endif diff --git a/host/lib/deps/rpclib/include/rpc/msgpack/predef/detail/comp_detected.h b/host/lib/deps/rpclib/include/rpc/msgpack/predef/detail/comp_detected.h new file mode 100644 index 000000000..3996fd397 --- /dev/null +++ b/host/lib/deps/rpclib/include/rpc/msgpack/predef/detail/comp_detected.h @@ -0,0 +1,10 @@ +/* +Copyright Rene Rivera 2014 +Distributed under the Boost Software License, Version 1.0. +(See accompanying file LICENSE_1_0.txt or copy at +http://www.boost.org/LICENSE_1_0.txt) +*/ + +#ifndef MSGPACK_PREDEF_DETAIL_COMP_DETECTED +#define MSGPACK_PREDEF_DETAIL_COMP_DETECTED 1 +#endif diff --git a/host/lib/deps/rpclib/include/rpc/msgpack/predef/detail/endian_compat.h b/host/lib/deps/rpclib/include/rpc/msgpack/predef/detail/endian_compat.h new file mode 100644 index 000000000..49672f6d4 --- /dev/null +++ b/host/lib/deps/rpclib/include/rpc/msgpack/predef/detail/endian_compat.h @@ -0,0 +1,26 @@ +/* +Copyright Rene Rivera 2013 +Distributed under the Boost Software License, Version 1.0. +(See accompanying file LICENSE_1_0.txt or copy at +http://www.boost.org/LICENSE_1_0.txt) +*/ + +#ifndef MSGPACK_PREDEF_DETAIL_ENDIAN_COMPAT_H +#define MSGPACK_PREDEF_DETAIL_ENDIAN_COMPAT_H + +#include <rpc/msgpack/predef/other/endian.h> + +#if MSGPACK_ENDIAN_BIG_BYTE +# define MSGPACK_BIG_ENDIAN +# define MSGPACK_BYTE_ORDER 4321 +#endif +#if MSGPACK_ENDIAN_LITTLE_BYTE +# define MSGPACK_LITTLE_ENDIAN +# define MSGPACK_BYTE_ORDER 1234 +#endif +#if MSGPACK_ENDIAN_LITTLE_WORD +# define MSGPACK_PDP_ENDIAN +# define MSGPACK_BYTE_ORDER 2134 +#endif + +#endif diff --git a/host/lib/deps/rpclib/include/rpc/msgpack/predef/detail/os_detected.h b/host/lib/deps/rpclib/include/rpc/msgpack/predef/detail/os_detected.h new file mode 100644 index 000000000..f9f23b787 --- /dev/null +++ b/host/lib/deps/rpclib/include/rpc/msgpack/predef/detail/os_detected.h @@ -0,0 +1,10 @@ +/* +Copyright Rene Rivera 2013 +Distributed under the Boost Software License, Version 1.0. +(See accompanying file LICENSE_1_0.txt or copy at +http://www.boost.org/LICENSE_1_0.txt) +*/ + +#ifndef MSGPACK_PREDEF_DETAIL_OS_DETECTED +#define MSGPACK_PREDEF_DETAIL_OS_DETECTED 1 +#endif diff --git a/host/lib/deps/rpclib/include/rpc/msgpack/predef/detail/platform_detected.h b/host/lib/deps/rpclib/include/rpc/msgpack/predef/detail/platform_detected.h new file mode 100644 index 000000000..782b3a291 --- /dev/null +++ b/host/lib/deps/rpclib/include/rpc/msgpack/predef/detail/platform_detected.h @@ -0,0 +1,10 @@ +/* +Copyright Rene Rivera 2014 +Distributed under the Boost Software License, Version 1.0. +(See accompanying file LICENSE_1_0.txt or copy at +http://www.boost.org/LICENSE_1_0.txt) +*/ + +#ifndef MSGPACK_PREDEF_DETAIL_PLAT_DETECTED +#define MSGPACK_PREDEF_DETAIL_PLAT_DETECTED 1 +#endif diff --git a/host/lib/deps/rpclib/include/rpc/msgpack/predef/detail/test.h b/host/lib/deps/rpclib/include/rpc/msgpack/predef/detail/test.h new file mode 100644 index 000000000..141406035 --- /dev/null +++ b/host/lib/deps/rpclib/include/rpc/msgpack/predef/detail/test.h @@ -0,0 +1,17 @@ +/* +Copyright Rene Rivera 2011-2012 +Distributed under the Boost Software License, Version 1.0. +(See accompanying file LICENSE_1_0.txt or copy at +http://www.boost.org/LICENSE_1_0.txt) +*/ + +#ifndef MSGPACK_PREDEF_DETAIL_TEST_H +#define MSGPACK_PREDEF_DETAIL_TEST_H + +#if !defined(MSGPACK_PREDEF_INTERNAL_GENERATE_TESTS) + +#define MSGPACK_PREDEF_DECLARE_TEST(x,s) + +#endif + +#endif |