Stuff seems to take years to compile on release :/ Might wanna switch to openssl, crypto++ or some other rsa lib.

This commit is contained in:
momo5502 2016-01-31 21:27:43 +01:00
parent 55170e6ba8
commit e43444738c
3 changed files with 9 additions and 4 deletions

View File

@ -81,7 +81,7 @@ workspace "iw4x"
optimize "Full" optimize "Full"
configuration "Debug*" configuration "Debug*"
defines { "DEBUG" } defines { "DEBUG", "_DEBUG" }
flags { "MultiProcessorCompile", "Symbols", "No64BitChecks" } flags { "MultiProcessorCompile", "Symbols", "No64BitChecks" }
optimize "Debug" optimize "Debug"

View File

@ -239,8 +239,6 @@ namespace Components
//#ifdef USE_NODE_STUFF //#ifdef USE_NODE_STUFF
Assert_Size(Node::AddressEntry, 6); Assert_Size(Node::AddressEntry, 6);
ltc_mp = tfm_desc;
Dvar::OnInit([] () Dvar::OnInit([] ()
{ {
Node::Dedis.clear(); Node::Dedis.clear();

View File

@ -14,6 +14,11 @@ namespace Main
{ {
Components::Loader::Uninitialize(); Components::Loader::Uninitialize();
} }
void PreInit()
{
ltc_mp = tfm_desc;
}
} }
BOOL APIENTRY DllMain(HMODULE hModule, DWORD ul_reason_for_call, LPVOID lpReserved) BOOL APIENTRY DllMain(HMODULE hModule, DWORD ul_reason_for_call, LPVOID lpReserved)
@ -41,6 +46,8 @@ BOOL APIENTRY DllMain(HMODULE hModule, DWORD ul_reason_for_call, LPVOID lpReser
} }
})->Install(); })->Install();
Main::PreInit();
} }
else if (ul_reason_for_call == DLL_PROCESS_DETACH) else if (ul_reason_for_call == DLL_PROCESS_DETACH)
{ {