MIDI: Build and use ALSA driver if and only if USE_ALSA is defined

svn-id: r51053
This commit is contained in:
Max Horn 2010-07-20 08:24:34 +00:00
parent 961079ae19
commit 211fcfe7ba
2 changed files with 2 additions and 2 deletions

View File

@ -24,7 +24,7 @@
#include "common/scummsys.h" #include "common/scummsys.h"
#if defined(UNIX) && defined(USE_ALSA) #if defined(USE_ALSA)
#include "common/config-manager.h" #include "common/config-manager.h"
#include "common/util.h" #include "common/util.h"

View File

@ -172,7 +172,7 @@ public:
#if defined(WIN32) && !defined(_WIN32_WCE) && !defined(__SYMBIAN32__) #if defined(WIN32) && !defined(_WIN32_WCE) && !defined(__SYMBIAN32__)
LINK_PLUGIN(WINDOWS) LINK_PLUGIN(WINDOWS)
#endif #endif
#if defined(UNIX) && defined(USE_ALSA) #if defined(USE_ALSA)
LINK_PLUGIN(ALSA) LINK_PLUGIN(ALSA)
#endif #endif
#if defined(UNIX) && !defined(__BEOS__) && !defined(__MAEMO__) && !defined(__MINT__) && !defined(__ANDROID__) #if defined(UNIX) && !defined(__BEOS__) && !defined(__MAEMO__) && !defined(__MINT__) && !defined(__ANDROID__)