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>
This commit is contained in:
Marc-André Lureau 2022-04-07 16:39:57 +04:00
parent c4a7ddbf67
commit e84b05a8c3

View File

@ -805,8 +805,6 @@ g_win32_get_command_line (void)
return result; return result;
} }
#ifdef G_OS_WIN32
/* Binary compatibility versions. Not for newly compiled code. */ /* Binary compatibility versions. Not for newly compiled code. */
_GLIB_EXTERN gchar *g_win32_get_package_installation_directory_utf8 (const gchar *package, _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 G_GNUC_END_IGNORE_DEPRECATIONS
} }
#endif
#ifdef G_OS_WIN32
/* This function looks up two environment /* This function looks up two environment
* variables, G_WIN32_ALLOC_CONSOLE and G_WIN32_ATTACH_CONSOLE. * variables, G_WIN32_ALLOC_CONSOLE and G_WIN32_ATTACH_CONSOLE.
* G_WIN32_ALLOC_CONSOLE, if set to 1, makes the process * 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; return executable_path;
} }
#endif