mirror of
https://github.com/msgpack/msgpack-c.git
synced 2025-12-18 11:56:17 +01:00
Fixed #1037.
Added MSGPACK_NO_BOOST guard for direct inclusion of chrono adaptor,
This commit is contained in:
@@ -11,6 +11,8 @@
|
||||
#ifndef MSGPACK_V1_TYPE_CPP11_CHRONO_HPP
|
||||
#define MSGPACK_V1_TYPE_CPP11_CHRONO_HPP
|
||||
|
||||
#if !defined(MSGPACK_NO_BOOST)
|
||||
|
||||
#include "msgpack/versioning.hpp"
|
||||
#include "msgpack/adaptor/adaptor_base.hpp"
|
||||
#include "msgpack/object.hpp"
|
||||
@@ -248,4 +250,6 @@ struct object_with_zone<std::chrono::time_point<Clock, Duration>> {
|
||||
|
||||
} // namespace msgpack
|
||||
|
||||
#endif // !defined(MSGPACK_NO_BOOST)
|
||||
|
||||
#endif // MSGPACK_V1_TYPE_CPP11_CHRONO_HPP
|
||||
|
||||
Reference in New Issue
Block a user