mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-11-10 03:16:17 +01:00
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:
parent
c4a7ddbf67
commit
e84b05a8c3
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user