30 #ifndef ZMQPP_COMPATIBILITY_HPP_ 31 #define ZMQPP_COMPATIBILITY_HPP_ 37 #include "zmqpp_export.h" 43 #define ZMQPP_REQUIRED_ZMQ_MAJOR 2 44 #define ZMQPP_REQUIRED_ZMQ_MINOR 2 46 #if (ZMQ_VERSION_MAJOR < ZMQPP_REQUIRED_ZMQ_MAJOR) || ((ZMQ_VERSION_MAJOR == ZMQPP_REQUIRED_ZMQ_MAJOR) && (ZMQ_VERSION_MINOR < ZMQPP_REQUIRED_ZMQ_MINOR)) 47 #error zmqpp requires a later version of 0mq 51 #if (ZMQ_VERSION_MAJOR == 3) && (ZMQ_VERSION_MINOR == 0) 52 #define ZMQ_EXPERIMENTAL_LABELS 56 #if defined(__GNUC__) && !defined(__clang__) 60 #if __GNUC_MINOR__ < 4 61 #define ZMQPP_COMPARABLE_ENUM enum 64 #if __GNUC_MINOR__ == 4 65 #if __GNUC_PATCHLEVEL__ < 1 66 #undef ZMQPP_COMPARABLE_ENUM 67 #define ZMQPP_COMPARABLE_ENUM enum 68 #endif // if __GNUC_PATCHLEVEL__ < 1 69 #endif // if __GNUC_MINOR__ == 4 72 #if __GNUC_MINOR__ < 5 73 #define ZMQPP_IGNORE_LAMBDA_FUNCTION_TESTS 74 #define ZMQPP_EXPLICITLY_DELETED 75 #endif // if __GNUC_MINOR__ < 5 78 #if __GNUC_MINOR__ < 6 81 #endif // if __GNUC_MINOR__ < 6 83 #endif // if __GNUC_ == 4 84 #endif // if defined(__GNUC__) && !defined(__clang__) 87 #define NOEXCEPT throw() 89 # define ZMQPP_NO_CONSTEXPR 92 #define ZMQPP_EXPLICITLY_DELETED 93 #endif // if _MSC_VER < 1800 96 #define ZMQPP_IGNORE_LAMBDA_FUNCTION_TESTS 97 #define ZMQPP_COMPARABLE_ENUM enum 98 #endif // if _MSC_VER < 1600 99 #endif // if defined(_MSC_VER) 102 #ifndef ZMQPP_COMPARABLE_ENUM 103 #define ZMQPP_COMPARABLE_ENUM enum class 106 #ifndef ZMQPP_EXPLICITLY_DELETED 107 #define ZMQPP_EXPLICITLY_DELETED = delete 110 #if __cplusplus >= 201300 // c++14 version. This number worked 112 #define ZMQPP_DEPRECATED(reason) [[deprecated(#reason)]] 114 #define ZMQPP_DEPRECATED(reason) __attribute__ ((deprecated)) 115 #elif defined(_MSC_VER) 116 #define ZMQPP_DEPRECATED(reason) __declspec(deprecated(#reason)) 118 #define ZMQPP_DEPRECATED(reason) 122 #define NOEXCEPT noexcept C++ wrapper around zmq.
Definition: actor.cpp:29
int raw_socket_t
Definition: compatibility.hpp:134