shithub: aubio

Download patch

ref: 4f74ac2b3b2d4b99520ff608d3473a630a9d3e0f
parent: 88b301a769725e9237f20af6b07e1ab1e0c82397
author: Paul Brossier <piem@piem.org>
date: Sun Mar 31 20:44:02 EDT 2019

[utils] use posix compliant _strnicmp on windows

--- a/src/utils/strutils.c
+++ b/src/utils/strutils.c
@@ -21,7 +21,7 @@
 #include "aubio_priv.h"
 
 #ifdef HAVE_WIN_HACKS
-#define strncasecmp strnicmp
+#define strncasecmp _strnicmp
 #endif
 
 const char_t *aubio_str_get_extension(const char_t *filename)