From 092f7dd35268239ab70704457ef98bbf334dce6f Mon Sep 17 00:00:00 2001 From: Christian Costa Date: Fri, 2 Jan 2004 20:13:57 +0000 Subject: [PATCH] Fix compilation issue with ALSA 0.5. --- dlls/winmm/winealsa/audio.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/dlls/winmm/winealsa/audio.c b/dlls/winmm/winealsa/audio.c index 6b0d635d9b9..f775d8c57a0 100644 --- a/dlls/winmm/winealsa/audio.c +++ b/dlls/winmm/winealsa/audio.c @@ -3202,7 +3202,7 @@ DWORD WINAPI ALSA_widMessage(UINT wDevID, UINT wMsg, DWORD dwUser, #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 @@ DWORD WINAPI ALSA_widMessage(WORD wDevID, WORD wMsg, DWORD dwUser, return MMSYSERR_NOTENABLED; } +#endif + +#ifndef HAVE_ALSA + /************************************************************************** * wodMessage (WINEALSA.@) */