Fix dllMain win32

This commit is contained in:
Melroy van den Berg
2022-03-01 06:03:36 +00:00
committed by Luca Bacci
parent 07d847d174
commit d13e05be93
2 changed files with 4 additions and 0 deletions

View File

@ -49,6 +49,7 @@
static gboolean gdk_synchronize = FALSE;
#ifdef DLL_EXPORT
BOOL WINAPI
DllMain (HINSTANCE hinstDLL,
DWORD dwReason,
@ -58,6 +59,7 @@ DllMain (HINSTANCE hinstDLL,
return TRUE;
}
#endif
void
_gdk_win32_windowing_init (void)

View File

@ -41,6 +41,7 @@
static HMODULE gtk_dll;
#ifdef DLL_EXPORT
BOOL WINAPI
DllMain (HINSTANCE hinstDLL,
DWORD fdwReason,
@ -55,6 +56,7 @@ DllMain (HINSTANCE hinstDLL,
return TRUE;
}
#endif
static BOOL CALLBACK
find_first_manifest (HMODULE module_handle,