shithub: mp3dec

Download patch

ref: 12777635f708844f61b9ef3fb455fdaa510669c3
parent: 53cb2a1e0996bc0da30cc1ec35a25f518048c91c
author: lieff <lieff@users.noreply.github.com>
date: Wed Feb 7 08:52:11 EST 2018

test: fix win32

--- a/minimp3_test.c
+++ b/minimp3_test.c
@@ -5,7 +5,11 @@
 #include <stdio.h>
 #include <math.h>
 #include <string.h>
-#include <strings.h>
+#if defined(_MSC_VER)
+    #define strcasecmp(str1, str2) _strnicmp(str1, str2, strlen(str2))
+#else
+    #include <strings.h>
+#endif
 
 #ifndef MINIMP3_NO_WAV
 static char *wav_header(int hz, int ch, int bips, int data_bytes)