[glib: 3/7] Uniformize G_PLATFORM_WIN32 and G_OS_WIN32 in glib-init.c




commit 4fdbfcc9b7ac95c094d12b57d1b221554dd9af8b
Author: Loic Le Page <llepage fluendo com>
Date:   Wed Jan 19 14:15:10 2022 +0100

    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,


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]