diff --git a/cmph/meson.build b/cmph/meson.build index 6b515241f..d7b1e4230 100644 --- a/cmph/meson.build +++ b/cmph/meson.build @@ -38,6 +38,7 @@ custom_c_args = cc.get_supported_arguments([ '-Wno-unused-parameter', '-Wno-cast-align', '-Wno-unused-function', + '-Wno-return-type', ]) cmph = static_library('cmph', sources: cmph_sources, diff --git a/girepository.c b/girepository.c index 8bc49eb16..e262d3e8d 100644 --- a/girepository.c +++ b/girepository.c @@ -76,6 +76,8 @@ static HMODULE girepository_dll = NULL; #ifdef DLL_EXPORT +BOOL WINAPI DllMain (HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved); + BOOL WINAPI DllMain (HINSTANCE hinstDLL, DWORD fdwReason,