From ec48b7f30e3ffb864b1286f19cec4f7d3b13fb8f Mon Sep 17 00:00:00 2001 From: Vladimir Dubrovin <3proxy@3proxy.ru> Date: Wed, 6 May 2026 23:07:16 +0300 Subject: [PATCH] Clear mingw warnings --- src/proxy.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/proxy.h b/src/proxy.h index ee70539..1cbc125 100644 --- a/src/proxy.h +++ b/src/proxy.h @@ -121,8 +121,12 @@ void daemonize(void); #endif #ifdef _WIN32 +#ifndef strcasecmp #define strcasecmp stricmp +#endif +#ifndef strncasecmp #define strncasecmp strnicmp +#endif #define seterrno3(x) _set_errno(x) #else #define seterrno3(x) (errno = x)