History

test: fix win32

lieff committed 8 years ago

Commit 12777631 parent 53cb2a11 file · +5 −1Browse files

Unified · Split

minimp3_test.c+5−1
@@ -5,7 +5,11 @@ · 4 unmodified lines
55 #include <stdio.h>
66 #include <math.h>
77 #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
913
1014 #ifndef MINIMP3_NO_WAV
1115 static char *wav_header(int hz, int ch, int bips, int data_bytes)

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t