Fix VS2015 syntax error with ZMQ_DEPRECATED macro.

This commit is contained in:
Sylvain Corlay 2020-10-05 12:26:00 +02:00 committed by Simon Giesecke
parent fef905d598
commit deb1617ebc

View File

@ -61,7 +61,7 @@
#define ZMQ_CPP17
#endif
#if defined(ZMQ_CPP14)
#if defined(ZMQ_CPP14) && !defined(_MSC_VER)
#define ZMQ_DEPRECATED(msg) [[deprecated(msg)]]
#elif defined(_MSC_VER)
#define ZMQ_DEPRECATED(msg) __declspec(deprecated(msg))