From a3a2506d5225dfbafdcce29aaff81fe36efb25b8 Mon Sep 17 00:00:00 2001 From: Andrew Talbot Date: Sat, 20 Dec 2008 15:02:38 +0000 Subject: [PATCH] winealsa.drv: Do nothing if HAVE_ALSA is not defined. --- dlls/winealsa.drv/waveinit.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/dlls/winealsa.drv/waveinit.c b/dlls/winealsa.drv/waveinit.c index 4bdaeff3d34..450c2cac794 100644 --- a/dlls/winealsa.drv/waveinit.c +++ b/dlls/winealsa.drv/waveinit.c @@ -25,6 +25,9 @@ */ #include "config.h" + +#ifdef HAVE_ALSA + #include "wine/port.h" #include @@ -65,8 +68,6 @@ WINE_DEFAULT_DEBUG_CHANNEL(wave); -#ifdef HAVE_ALSA - /*---------------------------------------------------------------------------- ** ALSA_TestDeviceForWine **