[glib: 5/12] glib/win32: drop needless #ifdef G_OS_WIN32




commit e84b05a8c37d3566e142914a0e97d1d30c9630bf
Author: Marc-André Lureau <marcandre lureau redhat com>
Date:   Thu Apr 7 16:39:57 2022 +0400

    glib/win32: drop needless #ifdef G_OS_WIN32
    
    They were carried over from an ancient time.
    
    Signed-off-by: Marc-André Lureau <marcandre lureau redhat com>

 glib/gwin32.c | 8 --------
 1 file changed, 8 deletions(-)
---
diff --git a/glib/gwin32.c b/glib/gwin32.c
index b2b5ff69db..691a487367 100644
--- a/glib/gwin32.c
+++ b/glib/gwin32.c
@@ -805,8 +805,6 @@ g_win32_get_command_line (void)
   return result;
 }
 
-#ifdef G_OS_WIN32
-
 /* Binary compatibility versions. Not for newly compiled code. */
 
 _GLIB_EXTERN gchar *g_win32_get_package_installation_directory_utf8    (const gchar *package,
@@ -837,10 +835,6 @@ G_GNUC_BEGIN_IGNORE_DEPRECATIONS
 G_GNUC_END_IGNORE_DEPRECATIONS
 }
 
-#endif
-
-#ifdef G_OS_WIN32
-
 /* This function looks up two environment
  * variables, G_WIN32_ALLOC_CONSOLE and G_WIN32_ATTACH_CONSOLE.
  * G_WIN32_ALLOC_CONSOLE, if set to 1, makes the process
@@ -1454,5 +1448,3 @@ g_win32_find_helper_executable_path (const gchar *executable_name, void *dll_han
 
   return executable_path;
 }
-
-#endif


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