diff options
| author | CeRiAl | 2011-04-28 06:40:54 +0800 | 
|---|---|---|
| committer | Ismail Khatib | 2011-05-18 06:04:23 +0800 | 
| commit | 6db6d69eedeb74d4863b2dd964407ca8bca1c4a8 (patch) | |
| tree | b0b2f5da189c13252fdfb2336c2fefa33174a39b /backends/plugins/win32 | |
| parent | 582827df40ed4a86a067c26dface4d51929d391a (diff) | |
| download | scummvm-rg350-6db6d69eedeb74d4863b2dd964407ca8bca1c4a8.tar.gz scummvm-rg350-6db6d69eedeb74d4863b2dd964407ca8bca1c4a8.tar.bz2 scummvm-rg350-6db6d69eedeb74d4863b2dd964407ca8bca1c4a8.zip  | |
WINCE: Enable building of plugins with normal configure/make
Enables building of plugin .dlls without a custom Makefile.
Also removes generation of scummvm.exe.map from configure script.
Diffstat (limited to 'backends/plugins/win32')
| -rw-r--r-- | backends/plugins/win32/win32-provider.cpp | 9 | 
1 files changed, 8 insertions, 1 deletions
diff --git a/backends/plugins/win32/win32-provider.cpp b/backends/plugins/win32/win32-provider.cpp index 5176ec179a..bcbc6bde9e 100644 --- a/backends/plugins/win32/win32-provider.cpp +++ b/backends/plugins/win32/win32-provider.cpp @@ -70,8 +70,15 @@ public:  		#ifndef _WIN32_WCE  		_dlHandle = LoadLibrary(_filename.c_str());  		#else -		if (!_filename.hasSuffix("scummvm.dll"))	// skip loading the core scummvm module +		if (!_filename.hasSuffix("scummvm.dll") && +			!_filename.hasSuffix("libstdc++-6.dll") && +			!_filename.hasSuffix("libgcc_s_sjlj-1.dll")) { +			// skip loading the core scummvm module and runtime dlls  			_dlHandle = LoadLibrary(toUnicode(_filename.c_str())); +		} else { +			// do not generate misleading error message +			return false; +		}  		#endif  		if (!_dlHandle) {  | 
