[WINEALSA] Fix compilation issue with ALSA 0.5
Christian Costa
titan.costa at wanadoo.fr
Fri Jan 2 12:21:51 CST 2004
Hi,
This patch fixes a compilation issue with ALSA 0.5 (reported by Carl
Sopchak)
that appears when adding WaveIn support.
Bye.
Changelog :
Fix compilation issue with ALSA 0.5.
Christian Costa titan.costa at wanadoo.fr
-------------- next part --------------
Index: audio.c
===================================================================
RCS file: /home/wine/wine/dlls/winmm/winealsa/audio.c,v
retrieving revision 1.28
diff -u -r1.28 audio.c
--- audio.c 12 Dec 2003 05:55:26 -0000 1.28
+++ audio.c 22 Dec 2003 18:23:21 -0000
@@ -3202,7 +3202,7 @@
#endif
-#ifndef HAVE_ALSA
+#if !(defined(HAVE_ALSA) && ((SND_LIB_MAJOR == 0 && SND_LIB_MINOR >= 9) || SND_LIB_MAJOR >= 1))
/**************************************************************************
* widMessage (WINEALSA.@)
@@ -3214,6 +3214,10 @@
return MMSYSERR_NOTENABLED;
}
+#endif
+
+#ifndef HAVE_ALSA
+
/**************************************************************************
* wodMessage (WINEALSA.@)
*/
@@ -3225,3 +3229,4 @@
}
#endif /* HAVE_ALSA */
+
More information about the wine-patches
mailing list