aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMax Horn2010-07-20 08:24:34 +0000
committerMax Horn2010-07-20 08:24:34 +0000
commit211fcfe7bab49ceeb5e81f4dcb1be7e73c58d7c9 (patch)
tree35455d260e4631eb54100972704e5de6a38c3064
parent961079ae195c200020b577d8f7f6a87f2eaac03f (diff)
downloadscummvm-rg350-211fcfe7bab49ceeb5e81f4dcb1be7e73c58d7c9.tar.gz
scummvm-rg350-211fcfe7bab49ceeb5e81f4dcb1be7e73c58d7c9.tar.bz2
scummvm-rg350-211fcfe7bab49ceeb5e81f4dcb1be7e73c58d7c9.zip
MIDI: Build and use ALSA driver if and only if USE_ALSA is defined
svn-id: r51053
-rw-r--r--backends/midi/alsa.cpp2
-rw-r--r--base/plugins.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/backends/midi/alsa.cpp b/backends/midi/alsa.cpp
index 076655bfed..a895ef8b80 100644
--- a/backends/midi/alsa.cpp
+++ b/backends/midi/alsa.cpp
@@ -24,7 +24,7 @@
#include "common/scummsys.h"
-#if defined(UNIX) && defined(USE_ALSA)
+#if defined(USE_ALSA)
#include "common/config-manager.h"
#include "common/util.h"
diff --git a/base/plugins.cpp b/base/plugins.cpp
index 29383f1009..f23fbb48d8 100644
--- a/base/plugins.cpp
+++ b/base/plugins.cpp
@@ -172,7 +172,7 @@ public:
#if defined(WIN32) && !defined(_WIN32_WCE) && !defined(__SYMBIAN32__)
LINK_PLUGIN(WINDOWS)
#endif
- #if defined(UNIX) && defined(USE_ALSA)
+ #if defined(USE_ALSA)
LINK_PLUGIN(ALSA)
#endif
#if defined(UNIX) && !defined(__BEOS__) && !defined(__MAEMO__) && !defined(__MINT__) && !defined(__ANDROID__)