Unified · Split
| @@ -5,7 +5,11 @@ · 4 unmodified lines | ||
| 5 | 5 | #include <stdio.h> |
| 6 | 6 | #include <math.h> |
| 7 | 7 | #include <string.h> |
| 8 | −#include <strings.h> | |
| 8 | +#if defined(_MSC_VER) | |
| 9 | + #define strcasecmp(str1, str2) _strnicmp(str1, str2, strlen(str2)) | |
| 10 | +#else | |
| 11 | + #include <strings.h> | |
| 12 | +#endif | |
| 9 | 13 | |
| 10 | 14 | #ifndef MINIMP3_NO_WAV |
| 11 | 15 | static char *wav_header(int hz, int ch, int bips, int data_bytes) |