mirror of
https://github.com/zeromq/cppzmq.git
synced 2025-04-25 01:19:09 +02:00
Fix VS2015 syntax error with ZMQ_DEPRECATED macro.
This commit is contained in:
parent
07ac9fef63
commit
c34d8eaaec
2
zmq.hpp
2
zmq.hpp
@ -61,7 +61,7 @@
|
|||||||
#define ZMQ_CPP17
|
#define ZMQ_CPP17
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if defined(ZMQ_CPP14)
|
#if defined(ZMQ_CPP14) && !defined(_MSC_VER)
|
||||||
#define ZMQ_DEPRECATED(msg) [[deprecated(msg)]]
|
#define ZMQ_DEPRECATED(msg) [[deprecated(msg)]]
|
||||||
#elif defined(_MSC_VER)
|
#elif defined(_MSC_VER)
|
||||||
#define ZMQ_DEPRECATED(msg) __declspec(deprecated(msg))
|
#define ZMQ_DEPRECATED(msg) __declspec(deprecated(msg))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user