From 76b6dd342376310b8e96802c518803f095ce923e Mon Sep 17 00:00:00 2001 From: Paul Brossier Date: Mon, 1 Apr 2019 00:12:53 +0200 Subject: [PATCH] [utils] use strnicmp on windows --- src/utils/strutils.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/utils/strutils.c b/src/utils/strutils.c index f00f4035..d0c0f968 100644 --- a/src/utils/strutils.c +++ b/src/utils/strutils.c @@ -20,6 +20,10 @@ #include "aubio_priv.h" +#ifdef HAVE_WIN_HACKS +#define strncasecmp strnicmp +#endif + const char_t *aubio_str_get_extension(const char_t *filename) { // find last occurence of dot character -- 2.11.0