Fix Windows build

This commit is contained in:
Nicolas Williams
2016-04-16 16:45:26 -05:00
parent 3d4fbf9aac
commit e2137c63f5
4 changed files with 20 additions and 29 deletions

View File

@@ -31,6 +31,8 @@
#include<windows.h>
extern void heim_w32_service_thread_detach(void *);
HINSTANCE _krb5_hInstance = NULL;
#if NTDDI_VERSION >= NTDDI_VISTA
@@ -65,6 +67,7 @@ BOOL WINAPI DllMain(HINSTANCE hinstDLL,
return FALSE;
case DLL_THREAD_DETACH:
heim_w32_service_thread_detach(NULL);
return FALSE;
}