From 17f79cbbb88dc9920fff586049a23e6c7c282100 Mon Sep 17 00:00:00 2001 From: Dmitry Podgorny Date: Tue, 7 Jan 2020 00:24:57 +0200 Subject: [PATCH] auth: replace stricmp() with _stricmp() Newer visual studios deprecate stricmp(). Replace it to fix compilation. --- src/auth.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/auth.c b/src/auth.c index 8152b40..50af8f0 100644 --- a/src/auth.c +++ b/src/auth.c @@ -24,7 +24,7 @@ #include "rand.h" #ifdef _MSC_VER -#define strcasecmp stricmp +#define strcasecmp _stricmp #endif /* TODO: these should configurable at runtime on a per connection basis */