From 22b8ca55a26f3d7a1e2b965560debea63fceaee5 Mon Sep 17 00:00:00 2001 From: Steve Brokenshire Date: Thu, 12 May 2016 21:09:38 +0100 Subject: [PATCH] Win32 support: Added code to load up the Security Interface. --- source/main.cpp | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/source/main.cpp b/source/main.cpp index a49b96b..e46abb4 100644 --- a/source/main.cpp +++ b/source/main.cpp @@ -39,6 +39,10 @@ #include "common/defaults.h" #include "common/dirs.h" +#if defined(__WIN32__) +#include "common/win32ssl.h" +#endif + class XestiaABApp: public wxApp { virtual bool OnInit(); @@ -49,6 +53,13 @@ IMPLEMENT_APP(XestiaABApp); bool XestiaABApp::OnInit() { +#if defined(__WIN32__) + + PSecurityFunctionTableW SecurityFunctionTbl; + SecurityFunctionTbl = (*InitSecurityInterface)(); + +#endif + // Setup the locale. wxLocale locale; -- 2.39.2