From 14e5adc7c2bd56cdc9d0e0e3d2e5f469945a7997 Mon Sep 17 00:00:00 2001 From: Luca Deri Date: Sat, 14 Dec 2019 15:05:47 +0100 Subject: Win fixes --- src/lib/ndpi_classify.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/lib/ndpi_classify.c') diff --git a/src/lib/ndpi_classify.c b/src/lib/ndpi_classify.c index ad2aee32a..e323b2a98 100644 --- a/src/lib/ndpi_classify.c +++ b/src/lib/ndpi_classify.c @@ -42,13 +42,10 @@ */ #define _GNU_SOURCE -#ifdef HAVE_CONFIG_H -#include "ndpi_config.h" -#endif #include #include -#include +// #include #include #include #include @@ -56,10 +53,13 @@ #include "ndpi_classify.h" /** finds the minimum value between to inputs */ +#ifndef min #define min(a,b) \ ({ __typeof__ (a) _a = (a); \ __typeof__ (b) _b = (b); \ _a < _b ? _a : _b; }) +#endif + //bias (1) + w (207) //const float ndpi_parameters_splt[NUM_PARAMETERS_SPLT_LOGREG] = { -- cgit v1.2.3