shithub: aubio

Download patch

ref: 76b6dd342376310b8e96802c518803f095ce923e
parent: 1dfe40925bf16faa125beae73a84e425dec95480
author: Paul Brossier <piem@piem.org>
date: Sun Mar 31 20:12:53 EDT 2019

[utils] use strnicmp on windows

--- 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