From deb1617ebc73fa55801d080d9f232fcbc57db83e Mon Sep 17 00:00:00 2001 From: Sylvain Corlay Date: Mon, 5 Oct 2020 12:26:00 +0200 Subject: [PATCH] Fix VS2015 syntax error with ZMQ_DEPRECATED macro. --- zmq.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zmq.hpp b/zmq.hpp index 9135c011..98961d54 100644 --- a/zmq.hpp +++ b/zmq.hpp @@ -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))