diff options
author | Luca Deri <lucaderi@users.noreply.github.com> | 2020-09-21 14:42:06 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-09-21 14:42:06 +0200 |
commit | a263ac9024026b3b41378c05c21d873714fbc0a6 (patch) | |
tree | 6552ce60ab19d40c5a1b2245894e0690e1dcef3f /src/lib/ndpi_utils.c | |
parent | 8ba1baace1f4380147d72622f5d2de95b1ce75e9 (diff) | |
parent | 87c43450f30ca45f9be2efac83d6f2c5abc42ab6 (diff) |
Merge pull request #1022 from lnslbrty/fix/ndpi-mingw-fn-redef
Do not re-define libc functions for mingw builds.
Diffstat (limited to 'src/lib/ndpi_utils.c')
-rw-r--r-- | src/lib/ndpi_utils.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/ndpi_utils.c b/src/lib/ndpi_utils.c index 4ec8e28ff..8360dd789 100644 --- a/src/lib/ndpi_utils.c +++ b/src/lib/ndpi_utils.c @@ -234,7 +234,7 @@ u_int8_t ndpi_ips_match(u_int32_t src, u_int32_t dst, /* ****************************************** */ -#ifdef WIN32 +#if defined(WIN32) && !defined(__MINGW32__) /* http://opensource.apple.com/source/Libc/Libc-186/string.subproj/strcasecmp.c */ /* |