no it's the dll.cpp in podbot..
and it has the metamod functions and DLLMain and other things.
Code:
#ifndef __linux__
BOOL WINAPI DllMain (HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved)
{
// Required DLL entry point
return (TRUE);
}
#endif
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;
}
they're right next to each other but one is compiled in linux and one isn't. Yet podbot still compile on linux without any problems...