Skip to content

Commit

Permalink
Fix VS2015 syntax error with ZMQ_DEPRECATED macro.
Browse files Browse the repository at this point in the history
  • Loading branch information
SylvainCorlay committed Oct 5, 2020
1 parent 07ac9fe commit c34d8ea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion zmq.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -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))
Expand Down

0 comments on commit c34d8ea

Please sign in to comment.