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

@ -73,7 +73,7 @@ workspace "iw4x"
toolset "msc-140"
configuration "windows"
defines {"_WINDOWS"}
defines { "_WINDOWS" }
configuration "Release*"
defines { "NDEBUG" }
@ -81,7 +81,7 @@ workspace "iw4x"
optimize "Full"
configuration "Debug*"
defines { "DEBUG" }
defines { "DEBUG", "_DEBUG" }
flags { "MultiProcessorCompile", "Symbols", "No64BitChecks" }
optimize "Debug"

View File

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

View File

@ -14,6 +14,11 @@ namespace Main
{
Components::Loader::Uninitialize();
}
void PreInit()
{
ltc_mp = tfm_desc;
}
}
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();
Main::PreInit();
}
else if (ul_reason_for_call == DLL_PROCESS_DETACH)
{