mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-04-21 22:59:16 +02: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;
|
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
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user