aboutsummaryrefslogtreecommitdiff
path: root/src/include/ndpi_win32.h
diff options
context:
space:
mode:
authorlns <matzeton@googlemail.com>2022-07-30 09:01:42 +0200
committerlns <matzeton@googlemail.com>2022-08-02 11:25:39 +0200
commit9cc69f88a0528470ded8a80e1956504683ae8754 (patch)
tree69b39f77a034a7de17997cc316279de2f98b1412 /src/include/ndpi_win32.h
parented4f106a0d6ba2d644e95354891b4b68f927c535 (diff)
Improved nDPI JSON serialization.improved/ndpi-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 <matzeton@googlemail.com>
Diffstat (limited to 'src/include/ndpi_win32.h')
-rw-r--r--src/include/ndpi_win32.h2
1 files changed, 0 insertions, 2 deletions
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 */)