Skip to content

Commit

Permalink
xrGame: No DLL APIENTRY on Linux
Browse files Browse the repository at this point in the history
  • Loading branch information
Zegeri committed Sep 16, 2018
1 parent e5da009 commit 1a56f03
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/xrGame/xrGame.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ DLL_API void __cdecl xrFactory_Destroy(IFactoryObject* O) { xr_delete(O); }

void CCC_RegisterCommands();

#ifdef WINDOWS
BOOL APIENTRY DllMain(HANDLE hModule, u32 ul_reason_for_call, LPVOID lpReserved)
{
switch (ul_reason_for_call)
Expand Down Expand Up @@ -60,3 +61,4 @@ BOOL APIENTRY DllMain(HANDLE hModule, u32 ul_reason_for_call, LPVOID lpReserved)
}
return (TRUE);
}
#endif

0 comments on commit 1a56f03

Please sign in to comment.