Commit 9ec95f9d authored by Simon Giesecke's avatar Simon Giesecke Committed by Luca Boccassi

Problem: build failure with VS <2015, has no snprintf

Solution: use _snprintf when snprintf is not available
parent 29e304ea
......@@ -48,6 +48,10 @@
char error_message_buffer[256];
#if defined(_MSC_VER) && _MSC_VER < 1900
#define snprintf _snprintf
#endif
const char *zmq_errno_message ()
{
snprintf (error_message_buffer, sizeof (error_message_buffer),
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment