From 8c7b19b1b7a788111b50e1694cf5e437d89801b7 Mon Sep 17 00:00:00 2001 From: Geof Nieboer Date: Wed, 30 Mar 2016 00:00:49 +0300 Subject: [PATCH] Update zmq_utils.h Previous change broke MSVC b/c MSVC doesn't support #warning --- include/zmq_utils.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/include/zmq_utils.h b/include/zmq_utils.h index 1856d62b..58e9bea5 100644 --- a/include/zmq_utils.h +++ b/include/zmq_utils.h @@ -29,4 +29,8 @@ /* This file is deprecated, and all its functionality provided by zmq.h */ -#warning zmq_utils.h is deprecated. All its functionality is provided by zmq.h. +#ifndef _MSC_VER +#warning(zmq_utils.h is deprecated.All its functionality is provided by zmq.h.) +#else +#pragma message("Warning: zmq_utils.h is deprecated. All its functionality is provided by zmq.h.") +#endif