EPROTO is defined on MSVC 2015.
This commit is contained in:
parent
cac5464f7f
commit
92f3d50b8e
4
config.h
4
config.h
@ -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…
Reference in New Issue
Block a user