Hideaki Tai / msgpack-embedded

Dependents:   hello_message_pack

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers define.hpp Source File

define.hpp

00001 //
00002 // MessagePack for C++ static resolution routine
00003 //
00004 // Copyright (C) 2008-2014 FURUHASHI Sadayuki and KONDO Takatoshi
00005 //
00006 //    Distributed under the Boost Software License, Version 1.0.
00007 //    (See accompanying file LICENSE_1_0.txt or copy at
00008 //    http://www.boost.org/LICENSE_1_0.txt)
00009 //
00010 #ifndef MSGPACK_DEFINE_HPP
00011 #define MSGPACK_DEFINE_HPP
00012 
00013 #include "msgpack/cpp_config.hpp"
00014 
00015 #if defined(MSGPACK_USE_CPP03)
00016 #include "detail/cpp03_define_array.hpp"
00017 #include "detail/cpp03_define_map.hpp"
00018 #else  // MSGPACK_USE_CPP03
00019 #include "detail/cpp11_define_array.hpp"
00020 #include "detail/cpp11_define_map.hpp"
00021 #endif // MSGPACK_USE_CPP03
00022 
00023 #if defined(MSGPACK_USE_DEFINE_MAP)
00024 #define MSGPACK_DEFINE MSGPACK_DEFINE_MAP
00025 #define MSGPACK_BASE MSGPACK_BASE_MAP
00026 #else  // defined(MSGPACK_USE_DEFINE_MAP)
00027 #define MSGPACK_DEFINE MSGPACK_DEFINE_ARRAY
00028 #define MSGPACK_BASE MSGPACK_BASE_ARRAY
00029 #endif // defined(MSGPACK_USE_DEFINE_MAP)
00030 
00031 #endif // MSGPACK_DEFINE_HPP