From 4fdbfcc9b7ac95c094d12b57d1b221554dd9af8b Mon Sep 17 00:00:00 2001 From: Loic Le Page Date: Wed, 19 Jan 2022 14:15:10 +0100 Subject: [PATCH] Uniformize G_PLATFORM_WIN32 and G_OS_WIN32 in glib-init.c According to build system (meson.build file), G_PLATFORM_WIN32 and G_OS_WIN32 are synonym. This commit just unify the usage of this define to prepare for the static build conditional compilation code. --- glib/glib-init.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/glib/glib-init.c b/glib/glib-init.c index 2958fb5be..2e9428253 100644 --- a/glib/glib-init.c +++ b/glib/glib-init.c @@ -340,7 +340,7 @@ glib_init (void) g_error_init (); } -#if defined (G_OS_WIN32) +#ifdef G_PLATFORM_WIN32 BOOL WINAPI DllMain (HINSTANCE hinstDLL, DWORD fdwReason,