diff --git a/windows/init.cpp b/windows/init.cpp index 4a49f326..95d4d812 100644 --- a/windows/init.cpp +++ b/windows/init.cpp @@ -111,9 +111,13 @@ void uiUninit(void) { } +#ifndef uiStatic + BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved) { if (fdwReason == DLL_PROCESS_ATTACH) hInstance = hinstDLL; return TRUE; } + +#endif