mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-04 05:51:27 +12:00
Compilation fix (mingw)
This commit is contained in:
parent
3baf79f929
commit
19a698682b
5 changed files with 13 additions and 7 deletions
|
@ -61,7 +61,7 @@ namespace utils
|
|||
void* get_proc_address(const char* lib, const char* name)
|
||||
{
|
||||
#ifdef _WIN32
|
||||
return GetProcAddress(GetModuleHandleA(lib), name);
|
||||
return reinterpret_cast<void*>(GetProcAddress(GetModuleHandleA(lib), name));
|
||||
#else
|
||||
return dlsym(dlopen(lib, RTLD_NOLOAD), name);
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue