mirror of
https://github.com/zeromq/cppzmq.git
synced 2025-04-23 08:52:33 +02:00
Merge pull request #515 from ashish-17/patch-1
ZMQ_DEPRECATED doesn't fallback for unrecognized compiler
This commit is contained in:
commit
286d8be432
2
zmq.hpp
2
zmq.hpp
@ -67,6 +67,8 @@
|
|||||||
#define ZMQ_DEPRECATED(msg) __declspec(deprecated(msg))
|
#define ZMQ_DEPRECATED(msg) __declspec(deprecated(msg))
|
||||||
#elif defined(__GNUC__)
|
#elif defined(__GNUC__)
|
||||||
#define ZMQ_DEPRECATED(msg) __attribute__((deprecated(msg)))
|
#define ZMQ_DEPRECATED(msg) __attribute__((deprecated(msg)))
|
||||||
|
#else
|
||||||
|
#define ZMQ_DEPRECATED(msg)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if defined(ZMQ_CPP17)
|
#if defined(ZMQ_CPP17)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user