EPROTO is defined on MSVC 2015.

pull/223/merge
Roger A. Light 9 years ago
parent cac5464f7f
commit 92f3d50b8e

@ -13,6 +13,7 @@
* ============================================================ */
#if defined(_MSC_VER) && _MSC_VER < 1900
# define snprintf sprintf_s
# define EPROTO ECONNABORTED
#endif
#ifdef WIN32
@ -27,6 +28,3 @@
#define uthash_malloc(sz) _mosquitto_malloc(sz)
#define uthash_free(ptr,sz) _mosquitto_free(ptr)
#ifndef EPROTO
# define EPROTO ECONNABORTED
#endif

Loading…
Cancel
Save