From c3df3a12aa88739e303340ccd7436d467b4662d2 Mon Sep 17 00:00:00 2001 From: Toni Uhlig Date: Wed, 16 Mar 2022 11:03:57 +0100 Subject: Fixed msys2 build warnings and re-activated CI Mingw64 build. * Removed Visual Studio leftovers. Maintaining an autotools project with VS integration requires some additional overhead. Signed-off-by: Toni Uhlig Signed-off-by: lns --- src/include/ndpi_define.h.in | 4 ---- 1 file changed, 4 deletions(-) (limited to 'src/include/ndpi_define.h.in') diff --git a/src/include/ndpi_define.h.in b/src/include/ndpi_define.h.in index 13e9962da..d34f8672d 100644 --- a/src/include/ndpi_define.h.in +++ b/src/include/ndpi_define.h.in @@ -330,10 +330,6 @@ static inline u_int64_t get_u_int64_t(const u_int8_t* X, int O) /* define memory callback function */ #define match_first_bytes(payload,st) (memcmp((payload),(st),(sizeof(st)-1))==0) -#if defined(WIN32) && !defined(snprintf) -#define snprintf _snprintf -#endif - #if defined(WIN32) #undef strtok_r #define strtok_r strtok_s -- cgit v1.2.3