mirror of
https://github.com/zeromq/libzmq.git
synced 2025-10-25 18:23:01 +02:00
Update zmq_utils.h
Previous change broke MSVC b/c MSVC doesn't support #warning
This commit is contained in:
@@ -29,4 +29,8 @@
|
|||||||
|
|
||||||
/* This file is deprecated, and all its functionality provided by zmq.h */
|
/* 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
|
||||||
|
|||||||
Reference in New Issue
Block a user