Christian Costa : winealsa.drv: Fix compilation with old alsa headers.

Alexandre Julliard julliard at wine.codeweavers.com
Mon Jun 11 08:46:22 CDT 2007


Module: wine
Branch: master
Commit: de559d9ce050f1b776ffde862e91e7c1c25d6e0b
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=de559d9ce050f1b776ffde862e91e7c1c25d6e0b

Author: Christian Costa <titan.costa at wanadoo.fr>
Date:   Sun Jun 10 12:38:56 2007 +0200

winealsa.drv: Fix compilation with old alsa headers.

---

 dlls/winealsa.drv/midi.c |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/dlls/winealsa.drv/midi.c b/dlls/winealsa.drv/midi.c
index 4f6d77b..a95f36c 100644
--- a/dlls/winealsa.drv/midi.c
+++ b/dlls/winealsa.drv/midi.c
@@ -55,6 +55,10 @@ WINE_DEFAULT_DEBUG_CHANNEL(midi);
 
 #ifdef HAVE_ALSA
 
+#ifndef SND_SEQ_PORT_TYPE_PORT
+#define SND_SEQ_PORT_TYPE_PORT (1<<19)  /* Appears in version 1.0.12rc1 */
+#endif
+
 typedef struct {
     int			state;                  /* -1 disabled, 0 is no recording started, 1 in recording, bit 2 set if in sys exclusive recording */
     DWORD		bufsize;




More information about the wine-cvs mailing list