Merge pull request #515 from ashish-17/patch-1

ZMQ_DEPRECATED doesn't fallback for unrecognized compiler
This commit is contained in:
Gudmundur Adalsteinsson 2021-09-16 21:51:29 +00:00 committed by GitHub
commit 286d8be432
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -67,6 +67,8 @@
#define ZMQ_DEPRECATED(msg) __declspec(deprecated(msg))
#elif defined(__GNUC__)
#define ZMQ_DEPRECATED(msg) __attribute__((deprecated(msg)))
#else
#define ZMQ_DEPRECATED(msg)
#endif
#if defined(ZMQ_CPP17)