aboutsummaryrefslogtreecommitdiff
path: root/base/plugins.h
diff options
context:
space:
mode:
authorD G Turner2011-05-31 04:44:12 +0100
committerD G Turner2011-05-31 04:44:12 +0100
commit5a2e6e4f3f9b26569797d998252d2016a33f57c0 (patch)
treea175898e9a91ecb419ae3b8a99b8c69c3bb3aa1b /base/plugins.h
parent1edcbe0b00c2a60ee528077fb43120bd5a6081a8 (diff)
downloadscummvm-rg350-5a2e6e4f3f9b26569797d998252d2016a33f57c0.tar.gz
scummvm-rg350-5a2e6e4f3f9b26569797d998252d2016a33f57c0.tar.bz2
scummvm-rg350-5a2e6e4f3f9b26569797d998252d2016a33f57c0.zip
BUILD: Fix compilation when --enable-plugins is enabled.
Diffstat (limited to 'base/plugins.h')
-rw-r--r--base/plugins.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/base/plugins.h b/base/plugins.h
index 247564171d..a1ae734159 100644
--- a/base/plugins.h
+++ b/base/plugins.h
@@ -80,7 +80,7 @@ extern int pluginTypeVersions[PLUGIN_TYPE_MAX];
(ENABLE_##ID && !PLUGIN_ENABLED_DYNAMIC(ID))
#define PLUGIN_ENABLED_DYNAMIC(ID) \
- (ENABLE_##ID && (ENABLE_##ID == DYNAMIC_PLUGIN) && DYNAMIC_MODULES)
+ (ENABLE_##ID && (ENABLE_##ID == DYNAMIC_PLUGIN) && defined(DYNAMIC_MODULES))
// see comments in backends/plugins/elf/elf-provider.cpp
#if defined(USE_ELF_LOADER) && defined(ELF_LOADER_CXA_ATEXIT)