MessagePack for C++
define.hpp
Go to the documentation of this file.
1 //
2 // MessagePack for C++ static resolution routine
3 //
4 // Copyright (C) 2008-2014 FURUHASHI Sadayuki and KONDO Takatoshi
5 //
6 // Distributed under the Boost Software License, Version 1.0.
7 // (See accompanying file LICENSE_1_0.txt or copy at
8 // http://www.boost.org/LICENSE_1_0.txt)
9 //
10 #ifndef MSGPACK_DEFINE_HPP
11 #define MSGPACK_DEFINE_HPP
12 
13 #include "msgpack/cpp_config.hpp"
14 
15 #if defined(MSGPACK_USE_CPP03)
18 #else // MSGPACK_USE_CPP03
21 #endif // MSGPACK_USE_CPP03
22 
23 #if defined(MSGPACK_USE_DEFINE_MAP)
24 #define MSGPACK_DEFINE MSGPACK_DEFINE_MAP
25 #define MSGPACK_BASE MSGPACK_BASE_MAP
26 #else // defined(MSGPACK_USE_DEFINE_MAP)
27 #define MSGPACK_DEFINE MSGPACK_DEFINE_ARRAY
28 #define MSGPACK_BASE MSGPACK_BASE_ARRAY
29 #endif // defined(MSGPACK_USE_DEFINE_MAP)
30 
31 #endif // MSGPACK_DEFINE_HPP