Code:
void WINAPI GiveFnptrsToDll (enginefuncs_t* pengfuncsFromEngine, globalvars_t *pGlobals)
{
// get the engine functions from the engine...
memcpy (&g_engfuncs, pengfuncsFromEngine, sizeof (enginefuncs_t));
gpGlobals = pGlobals;
}
I found that in the podbot2.6mm source code and it doesn't have #ifndef __linux__ or anything like that.
Why does this work?
DLLMain has #ifndef __linux__ around it...