aboutsummaryrefslogtreecommitdiff
path: root/backends
diff options
context:
space:
mode:
authorMax Horn2006-10-07 00:35:05 +0000
committerMax Horn2006-10-07 00:35:05 +0000
commitd88288120bbe3f710a264f9ff675f9c3ee2d6da9 (patch)
treefb1147276b65cebbe7432b45baab2ebe95acefc1 /backends
parent8d82ffd31b1b85f94f5ef3a17a5a51ae5855990d (diff)
downloadscummvm-rg350-d88288120bbe3f710a264f9ff675f9c3ee2d6da9.tar.gz
scummvm-rg350-d88288120bbe3f710a264f9ff675f9c3ee2d6da9.tar.bz2
scummvm-rg350-d88288120bbe3f710a264f9ff675f9c3ee2d6da9.zip
Fixed mixup in win32 plugin provider code, and added win32 & dc plugin providers to the build system
svn-id: r24150
Diffstat (limited to 'backends')
-rw-r--r--backends/module.mk2
-rw-r--r--backends/plugins/win32/win32-provider.cpp4
2 files changed, 4 insertions, 2 deletions
diff --git a/backends/module.mk b/backends/module.mk
index 0e648eb5b7..06cc51a41a 100644
--- a/backends/module.mk
+++ b/backends/module.mk
@@ -13,7 +13,9 @@ MODULE_OBJS := \
midi/quicktime.o \
midi/seq.o \
midi/windows.o \
+ plugins/dc/dc-provider.o \
plugins/posix/posix-provider.o \
+ plugins/win32/win32-provider.o \
saves/savefile.o \
saves/default/default-saves.o \
timer/default/default-timer.o
diff --git a/backends/plugins/win32/win32-provider.cpp b/backends/plugins/win32/win32-provider.cpp
index b647a9ba05..5eb607dc71 100644
--- a/backends/plugins/win32/win32-provider.cpp
+++ b/backends/plugins/win32/win32-provider.cpp
@@ -21,7 +21,7 @@
*
*/
-#ifdef DYNAMIC_MODULES
+#if defined(DYNAMIC_MODULES) && defined(_WIN32)
#include "backends/plugins/win32/win32-provider.h"
#include "backends/plugins/dynamic-plugin.h"
@@ -121,4 +121,4 @@ PluginList Win32PluginProvider::getPlugins() {
}
-#endif // DYNAMIC_MODULES
+#endif // defined(DYNAMIC_MODULES) && defined(_WIN32)