From 5a2e6e4f3f9b26569797d998252d2016a33f57c0 Mon Sep 17 00:00:00 2001 From: D G Turner Date: Tue, 31 May 2011 04:44:12 +0100 Subject: BUILD: Fix compilation when --enable-plugins is enabled. --- base/plugins.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'base/plugins.h') 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) -- cgit v1.2.3