[utils] use posix compliant _strnicmp on windows
authorPaul Brossier <piem@piem.org>
Sun, 31 Mar 2019 22:44:02 +0000 (00:44 +0200)
committerPaul Brossier <piem@piem.org>
Sun, 31 Mar 2019 22:44:02 +0000 (00:44 +0200)
src/utils/strutils.c

index d0c0f96..8b695ff 100644 (file)
@@ -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)