wx3.0: disable an useless symbol on linux

Not used and print an error message for each plugins.
This commit is contained in:
Gregory Hainaut 2014-06-29 13:16:03 +02:00
parent 01de778831
commit cfa8e94e95
1 changed files with 4 additions and 0 deletions

View File

@ -853,7 +853,11 @@ SysCorePlugins::PluginStatus_t::PluginStatus_t( PluginsEnum_t _pid, const wxStri
_PS2EgetLibName GetLibName = (_PS2EgetLibName) Lib.GetSymbol( L"PS2EgetLibName" );
_PS2EgetLibVersion2 GetLibVersion2 = (_PS2EgetLibVersion2) Lib.GetSymbol( L"PS2EgetLibVersion2" );
#ifdef __LINUX__
_PS2EsetEmuVersion SetEmuVersion = NULL;
#else
_PS2EsetEmuVersion SetEmuVersion = (_PS2EsetEmuVersion) Lib.GetSymbol( L"PS2EsetEmuVersion" );
#endif
if( GetLibName == NULL || GetLibVersion2 == NULL )
throw Exception::PluginLoadError( pid ).SetStreamName(Filename)