Fix compilation issue with ALSA 0.5.

This commit is contained in:
Christian Costa 2004-01-02 20:13:57 +00:00 committed by Alexandre Julliard
parent f902d2965f
commit 092f7dd352
1 changed files with 5 additions and 1 deletions

View File

@ -3202,7 +3202,7 @@ DWORD WINAPI ALSA_widMessage(UINT wDevID, UINT wMsg, DWORD dwUser,
#endif #endif
#ifndef HAVE_ALSA #if !(defined(HAVE_ALSA) && ((SND_LIB_MAJOR == 0 && SND_LIB_MINOR >= 9) || SND_LIB_MAJOR >= 1))
/************************************************************************** /**************************************************************************
* widMessage (WINEALSA.@) * widMessage (WINEALSA.@)
@ -3214,6 +3214,10 @@ DWORD WINAPI ALSA_widMessage(WORD wDevID, WORD wMsg, DWORD dwUser,
return MMSYSERR_NOTENABLED; return MMSYSERR_NOTENABLED;
} }
#endif
#ifndef HAVE_ALSA
/************************************************************************** /**************************************************************************
* wodMessage (WINEALSA.@) * wodMessage (WINEALSA.@)
*/ */