mirror of
https://github.com/qicosmos/rest_rpc.git
synced 2026-08-30 00:50:48 +08:00
27 lines
569 B
C++
27 lines
569 B
C++
//
|
|
// MessagePack for C++ static resolution routine
|
|
//
|
|
// Copyright (C) 2022 KONDO Takatoshi
|
|
//
|
|
// 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_ASSERT_HPP
|
|
#define MSGPACK_ASSERT_HPP
|
|
|
|
#if defined(MSGPACK_NO_BOOST)
|
|
|
|
#include <cassert>
|
|
#define MSGPACK_ASSERT assert
|
|
|
|
#else // defined(MSGPACK_NO_BOOST)
|
|
|
|
#include <boost/assert.hpp>
|
|
#define MSGPACK_ASSERT BOOST_ASSERT
|
|
|
|
#endif // defined(MSGPACK_NO_BOOST)
|
|
|
|
#endif // MSGPACK_ASSERT_HPP
|