Trivial compile patch for dlls/winmm/winealsa/alsa.c

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Changelog
------------
	fixed compile problem with alsa 0.5
--- ../wine/dlls/winmm/winealsa/alsa.c	Tue Sep 16 20:59:53 2003
+++ dlls/winmm/winealsa/alsa.c	Tue Sep 16 22:23:05 2003
@@ -74,7 +74,9 @@
     switch(wMsg) {
 #ifdef HAVE_ALSA
     case DRV_LOAD:		ALSA_WaveInit();
+#if (SND_LIB_MAJOR == 0 && SND_LIB_MINOR >= 9) || SND_LIB_MAJOR >= 1
 				ALSA_MidiInit();
+#endif
 				return 1;
     case DRV_FREE:		return 1;
     case DRV_OPEN:		return ALSA_drvOpen((LPSTR)dwParam1);

[Index of Archives]     [Gimp for Windows]     [Red Hat]     [Samba]     [Yosemite Camping]     [Graphics Cards]     [Wine Home]

  Powered by Linux