Win fixes

This commit is contained in:
Luca Deri
2015-11-30 14:21:50 +01:00
parent f04c3c6acb
commit 34e0a74c07
+1 -1
View File
@@ -289,7 +289,7 @@
#define match_first_bytes(payload,st) (memcmp((payload),(st),(sizeof(st)-1))==0)
#if defined(WIN32) && !defined(snprintf)
#define snprintf(buf,len, format,...) _snprintf_s(buf, len,len, format, __VA_ARGS__)
#define snprintf _snprintf
#endif
#endif /* __NDPI_DEFINE_INCLUDE_FILE__ */