View Single Post
napalm00
Veteran Member
Join Date: Jun 2011
Location: Italy, sadly
Old 04-05-2013 , 14:16   Re: Accelerator - Take back control
#131

I have a doubt about the source code, especially about how this can actually work on Linux.

The lines I'm unsure about are:
PHP Code:
#elif defined _LINUX
    
pBreakpadLib g_pFileSystem->LoadModule("../bin/crashhandler.so""MOD"false);
#endif 
and
PHP Code:
Breakpad_SetSteamID = (Breakpad_SetSteamIDFunc)GetProcAddress(reinterpret_cast<HMODULE>(pBreakpadLib), "Breakpad_SetSteamID"); 
Shouldn't they be dlopen() and dlsym() respectively, since LoadModule and GetProcAddress are windows functions? Or am I missing something?

(probably a noob question but I couldn't figure this out)
__________________
napalm00 is offline