30 #ifndef ZMQPP_COMPATIBILITY_HPP_
31 #define ZMQPP_COMPATIBILITY_HPP_
36 #define ZMQPP_REQUIRED_ZMQ_MAJOR 2
37 #define ZMQPP_REQUIRED_ZMQ_MINOR 2
39 #if (ZMQ_VERSION_MAJOR < ZMQPP_REQUIRED_ZMQ_MAJOR) || ((ZMQ_VERSION_MAJOR == ZMQPP_REQUIRED_ZMQ_MAJOR) && (ZMQ_VERSION_MINOR < ZMQPP_REQUIRED_ZMQ_MINOR))
40 #error zmqpp requires a later version of 0mq
44 #if (ZMQ_VERSION_MAJOR == 3) && (ZMQ_VERSION_MINOR == 0)
45 #define ZMQ_EXPERIMENTAL_LABELS
49 #if defined(__GNUC__) && !defined(__clang__)
53 #if __GNUC_MINOR__ < 4
54 #define ZMQPP_COMPARABLE_ENUM enum
57 #if __GNUC_MINOR__ == 4
58 #if __GNUC_PATCHLEVEL__ < 1
59 #undef ZMQPP_COMPARABLE_ENUM
60 #define ZMQPP_COMPARABLE_ENUM enum
61 #endif // if __GNUC_PATCHLEVEL__ < 1
62 #endif // if __GNUC_MINOR__ == 4
65 #if __GNUC_MINOR__ < 5
66 #define ZMQPP_IGNORE_LAMBDA_FUNCTION_TESTS
67 #define ZMQPP_EXPLICITLY_DELETED
68 #endif // if __GNUC_MINOR__ < 5
71 #if __GNUC_MINOR__ < 6
74 #endif // if __GNUC_MINOR__ < 6
76 #endif // if __GNUC_ == 4
77 #endif // if defined(__GNUC__) && !defined(__clang__)
80 #define NOEXCEPT throw()
82 # define ZMQPP_NO_CONSTEXPR
85 #define ZMQPP_EXPLICITLY_DELETED
86 #endif // if _MSC_VER < 1800
89 #define ZMQPP_IGNORE_LAMBDA_FUNCTION_TESTS
90 #define ZMQPP_COMPARABLE_ENUM enum
91 #endif // if _MSC_VER < 1600
92 #endif // if defined(_MSC_VER)
95 #ifndef ZMQPP_COMPARABLE_ENUM
96 #define ZMQPP_COMPARABLE_ENUM enum class
99 #ifndef ZMQPP_EXPLICITLY_DELETED
100 #define ZMQPP_EXPLICITLY_DELETED = delete
104 #define NOEXCEPT noexcept
C++ wrapper around zmq.
Definition: actor.cpp:29
int raw_socket_t
Definition: compatibility.hpp:116