Commit 1877f5745b596245f2eac5604c928900fcfa908f

Ryan C. Gordon 2015-03-19T23:35:43

Patched to compile on Windows.

1
2
3
4
5
6
7
8
9
10
11
12
diff --git a/src/audio/winmm/SDL_winmm.c b/src/audio/winmm/SDL_winmm.c
index 8bc86b8..ede4049 100644
--- a/src/audio/winmm/SDL_winmm.c
+++ b/src/audio/winmm/SDL_winmm.c
@@ -39,7 +39,6 @@
 #define DETECT_DEV_IMPL(iscap, typ, capstyp) \
 static void DetectWave##typ##Devs(void) { \
     const UINT iscapture = iscap ? 1 : 0; \
-    UINT devcount = wave##typ##GetNumDevs(); \
     const UINT devcount = wave##typ##GetNumDevs(); \
     capstyp caps; \
     UINT i; \