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)
__________________