From 9cc69f88a0528470ded8a80e1956504683ae8754 Mon Sep 17 00:00:00 2001 From: lns Date: Sat, 30 Jul 2022 09:01:42 +0200 Subject: Improved nDPI JSON serialization. * fixed autoconf CFLAGS/LDFLAGS MSAN issue which could lead to build errors * introduced portable version of gmtime_r aka ndpi_gmtime_r * do as most as possible of the serialization work in ndpi_utils.c * use flow2json in ndpiReader Signed-off-by: lns --- src/include/ndpi_win32.h | 2 -- 1 file changed, 2 deletions(-) (limited to 'src/include/ndpi_win32.h') diff --git a/src/include/ndpi_win32.h b/src/include/ndpi_win32.h index 16b4bd7c5..3183b5d81 100644 --- a/src/include/ndpi_win32.h +++ b/src/include/ndpi_win32.h @@ -66,8 +66,6 @@ typedef uint u_int32_t; typedef uint u_int; typedef unsigned __int64 u_int64_t; -#define gmtime_r(a, b) memcpy(b, gmtime(a), sizeof(struct tm)) - #define timegm _mkgmtime #define sleep(a /* sec */) Sleep(1000*a /* ms */) -- cgit v1.2.3