Skip to content

Commit

Permalink
Merge pull request zeromq#515 from ashish-17/patch-1
Browse files Browse the repository at this point in the history
ZMQ_DEPRECATED doesn't fallback for unrecognized compiler
  • Loading branch information
gummif committed Sep 16, 2021
2 parents e0314c9 + 6f8a180 commit 286d8be
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions zmq.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 286d8be

Please sign in to comment.