Loading...
Searching...
No Matches
6#include <boost/config.hpp>
8#if !defined(BOND_COMPACT_BINARY_PROTOCOL) \
9 && !defined(BOND_SIMPLE_BINARY_PROTOCOL) \
10 && !defined(BOND_FAST_BINARY_PROTOCOL) \
11 && !defined(BOND_SIMPLE_JSON_PROTOCOL)
13#define BOND_COMPACT_BINARY_PROTOCOL
14#define BOND_SIMPLE_BINARY_PROTOCOL
15#define BOND_FAST_BINARY_PROTOCOL
21#if defined(BOOST_NO_CXX11_HDR_MUTEX) || !defined(_MSC_VER)
22#define BOND_NO_CX11_HDR_MUTEX
26#if defined(BOOST_NO_SFINAE_EXPR) || (defined(_MSC_VER) && (_MSC_VER < 1910))
27#define BOND_NO_SFINAE_EXPR
35#if (__cplusplus >= 201703L || (defined(_MSVC_LANG) && (_MSVC_LANG >= 201703L)))
39#if defined(BOOST_NO_CXX14_RETURN_TYPE_DEDUCTION)
40#define BOND_NO_CXX14_RETURN_TYPE_DEDUCTION
43#if defined(BOOST_NO_CXX14_GENERIC_LAMBDAS)
44#define BOND_NO_CXX14_GENERIC_LAMBDAS
48#define BOND_CALL __cdecl
49#define BOND_NO_INLINE __declspec(noinline)
50#elif defined(__GNUC__) && defined(__i386) && !defined(__INTEL_COMPILER)
51#define BOND_CALL __attribute__((cdecl))
52#define BOND_NO_INLINE __attribute__((noinline))
55#define BOND_NO_INLINE __attribute__((noinline))
58#define BOND_NOEXCEPT BOOST_NOEXCEPT_OR_NOTHROW
59#define BOND_NOEXCEPT_IF BOOST_NOEXCEPT_IF
60#define BOND_NOEXCEPT_EXPR BOOST_NOEXCEPT_EXPR
61#define BOND_CONSTEXPR BOOST_CONSTEXPR
62#define BOND_CONSTEXPR_OR_CONST BOOST_CONSTEXPR_OR_CONST
63#define BOND_STATIC_CONSTEXPR BOOST_STATIC_CONSTEXPR
66#define BOND_LIB_TYPE_HEADER 1
67#define BOND_LIB_TYPE_STATIC 2
68#define BOND_LIB_TYPE_DYNAMIC 3
71#define BOND_LIB_TYPE BOND_LIB_TYPE_HEADER
72#elif (BOND_LIB_TYPE != BOND_LIB_TYPE_HEADER) && (BOND_LIB_TYPE != BOND_LIB_TYPE_STATIC)
73#error Unsupported library type is defined for BOND_LIB_TYPE
76#ifndef BOND_DETAIL_HEADER_ONLY_INLINE
77#if BOND_LIB_TYPE == BOND_LIB_TYPE_HEADER
78#define BOND_DETAIL_HEADER_ONLY_INLINE inline
80#define BOND_DETAIL_HEADER_ONLY_INLINE
83#error BOND_DETAIL_HEADER_ONLY_INLINE is already defined