From 53795c74aead4e6021bc788b788f8ed5b4a0166d Mon Sep 17 00:00:00 2001 From: Andrej Rode Date: Mon, 3 Apr 2017 18:49:58 -0700 Subject: uhd: add cut-down rpclib source tree and import tool --- .../include/rpc/msgpack/predef/detail/_cassert.h | 17 ++++++++++++++ .../include/rpc/msgpack/predef/detail/_exception.h | 15 +++++++++++++ .../rpc/msgpack/predef/detail/comp_detected.h | 10 +++++++++ .../rpc/msgpack/predef/detail/endian_compat.h | 26 ++++++++++++++++++++++ .../rpc/msgpack/predef/detail/os_detected.h | 10 +++++++++ .../rpc/msgpack/predef/detail/platform_detected.h | 10 +++++++++ .../include/rpc/msgpack/predef/detail/test.h | 17 ++++++++++++++ 7 files changed, 105 insertions(+) create mode 100644 host/lib/deps/rpclib/include/rpc/msgpack/predef/detail/_cassert.h create mode 100644 host/lib/deps/rpclib/include/rpc/msgpack/predef/detail/_exception.h create mode 100644 host/lib/deps/rpclib/include/rpc/msgpack/predef/detail/comp_detected.h create mode 100644 host/lib/deps/rpclib/include/rpc/msgpack/predef/detail/endian_compat.h create mode 100644 host/lib/deps/rpclib/include/rpc/msgpack/predef/detail/os_detected.h create mode 100644 host/lib/deps/rpclib/include/rpc/msgpack/predef/detail/platform_detected.h create mode 100644 host/lib/deps/rpclib/include/rpc/msgpack/predef/detail/test.h (limited to 'host/lib/deps/rpclib/include/rpc/msgpack/predef/detail') 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 +#else +#include +#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 +#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 + +#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 -- cgit v1.2.3