Skip to content

Commit

Permalink
Merge pull request #447 from SylvainCorlay/vs2015-syntax-error
Browse files Browse the repository at this point in the history
Fix VS 2015 syntax error with macro
  • Loading branch information
sigiesec committed Oct 5, 2020
2 parents 07ac9fe + c34d8ea commit 03243ad
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 03243ad

Please sign in to comment.