mirror of
https://github.com/dhewm/dhewm3.git
synced 2024-11-23 12:53:09 +00:00
Make Sys_DLL_Load() on *nix non verbose on errors
Just like the windows port.
This commit is contained in:
parent
be37221024
commit
b242041319
1 changed files with 1 additions and 5 deletions
|
@ -265,11 +265,7 @@ TODO: OSX - use the native API instead? NSModule
|
|||
=================
|
||||
*/
|
||||
uintptr_t Sys_DLL_Load( const char *path ) {
|
||||
void *handle = dlopen( path, RTLD_NOW );
|
||||
if ( !handle ) {
|
||||
Sys_Printf( "dlopen '%s' failed: %s\n", path, dlerror() );
|
||||
}
|
||||
return (uintptr_t)handle;
|
||||
return (uintptr_t)dlopen( path, RTLD_NOW );
|
||||
}
|
||||
|
||||
/*
|
||||
|
|
Loading…
Reference in a new issue