Unified · Split
| @@ -5,7 +5,11 @@ · 4 unmodified lines | |||
| 5 | #include <stdio.h> | 5 | #include <stdio.h> |
| 6 | #include <math.h> | 6 | #include <math.h> |
| 7 | #include <string.h> | 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 | #ifndef MINIMP3_NO_WAV | 14 | #ifndef MINIMP3_NO_WAV |
| 11 | static char *wav_header(int hz, int ch, int bips, int data_bytes) | 15 | static char *wav_header(int hz, int ch, int bips, int data_bytes) |