messagepack implementation for embedded systems (mbed / arduino)
Dependents: hello_message_pack
greater.hpp
00001 # /* Copyright (C) 2001 00002 # * Housemarque Oy 00003 # * http://www.housemarque.com 00004 # * 00005 # * Distributed under the Boost Software License, Version 1.0. (See 00006 # * accompanying file LICENSE_1_0.txt or copy at 00007 # * http://www.boost.org/LICENSE_1_0.txt) 00008 # */ 00009 # 00010 # /* Revised by Paul Mensonides (2002) */ 00011 # 00012 # /* See http://www.boost.org for most recent version. */ 00013 # 00014 # ifndef MSGPACK_PREPROCESSOR_COMPARISON_GREATER_HPP 00015 # define MSGPACK_PREPROCESSOR_COMPARISON_GREATER_HPP 00016 # 00017 # include <msgpack/preprocessor/comparison/less.hpp> 00018 # include <msgpack/preprocessor/config/config.hpp> 00019 # 00020 # /* MSGPACK_PP_GREATER */ 00021 # 00022 # if ~MSGPACK_PP_CONFIG_FLAGS() & MSGPACK_PP_CONFIG_EDG() 00023 # define MSGPACK_PP_GREATER(x, y) MSGPACK_PP_LESS(y, x) 00024 # else 00025 # define MSGPACK_PP_GREATER(x, y) MSGPACK_PP_GREATER_I(x, y) 00026 # define MSGPACK_PP_GREATER_I(x, y) MSGPACK_PP_LESS(y, x) 00027 # endif 00028 # 00029 # /* MSGPACK_PP_GREATER_D */ 00030 # 00031 # if ~MSGPACK_PP_CONFIG_FLAGS() & MSGPACK_PP_CONFIG_EDG() 00032 # define MSGPACK_PP_GREATER_D(d, x, y) MSGPACK_PP_LESS_D(d, y, x) 00033 # else 00034 # define MSGPACK_PP_GREATER_D(d, x, y) MSGPACK_PP_GREATER_D_I(d, x, y) 00035 # define MSGPACK_PP_GREATER_D_I(d, x, y) MSGPACK_PP_LESS_D(d, y, x) 00036 # endif 00037 # 00038 # endif
Generated on Tue Jul 12 2022 22:51:45 by 1.7.2