Minor fix

This commit is contained in:
Luca Deri
2015-11-27 00:29:19 +01:00
parent 80171b7c54
commit f04c3c6acb
2 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -288,7 +288,7 @@
/* define memory callback function */
#define match_first_bytes(payload,st) (memcmp((payload),(st),(sizeof(st)-1))==0)
#ifdef WIN32
#if defined(WIN32) && !defined(snprintf)
#define snprintf(buf,len, format,...) _snprintf_s(buf, len,len, format, __VA_ARGS__)
#endif