[Scummvm-cvs-logs] scummvm master -> 5a2e6e4f3f9b26569797d998252d2016a33f57c0

digitall digitall at scummvm.org
Tue May 31 05:46:21 CEST 2011


This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .

Summary:
5a2e6e4f3f BUILD: Fix compilation when --enable-plugins is enabled.


Commit: 5a2e6e4f3f9b26569797d998252d2016a33f57c0
    https://github.com/scummvm/scummvm/commit/5a2e6e4f3f9b26569797d998252d2016a33f57c0
Author: D G Turner (digitall at scummvm.org)
Date: 2011-05-30T20:44:12-07:00

Commit Message:
BUILD: Fix compilation when --enable-plugins is enabled.

Changed paths:
    base/plugins.h



diff --git a/base/plugins.h b/base/plugins.h
index 2475641..a1ae734 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)






More information about the Scummvm-git-logs mailing list