/* -*- c++ -*- */
/*
 * Copyright 2019 Free Software Foundation, Inc.
 *
 * This file is part of GNU Radio.
 *
 * SPDX-License-Identifier: GPL-3.0-or-later
 *
 */

#ifndef INCLUDED_ZEROMQ_ZMQ_COMMON_IMPL_H
#define INCLUDED_ZEROMQ_ZMQ_COMMON_IMPL_H

#include <zmq.hpp>

#if defined(CPPZMQ_VERSION) && defined(ZMQ_MAKE_VERSION) && \
    CPPZMQ_VERSION >= ZMQ_MAKE_VERSION(4, 3, 1)
#define USE_NEW_CPPZMQ_SEND_RECV 1
#else
#define USE_NEW_CPPZMQ_SEND_RECV 0
#endif

#endif /* INCLUDED_ZEROMQ_ZMQ_COMMON_IMPL_H */
