mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-01-12 15:36:17 +01:00
gio/gdbusaddress: Clean up Win32 code a bit
Combine duplicate parts into one, as the symbol used by RunDLL under x64 is the same for either Visual C++ or MinGW-64
This commit is contained in:
parent
c7c1ad4d02
commit
3af58d2e9f
@ -1400,14 +1400,10 @@ get_session_address_dbus_launch (GError **error)
|
||||
wcscat (args, rundll_path);
|
||||
wcscat (args, L"\" ");
|
||||
wcscat (args, gio_path_short);
|
||||
#ifdef _MSC_VER
|
||||
#if defined(_WIN64) || defined(_M_X64) || defined(_M_AMD64)
|
||||
wcscat (args, L",g_win32_run_session_bus");
|
||||
#else
|
||||
#elif defined (_MSC_VER)
|
||||
wcscat (args, L",_g_win32_run_session_bus@16");
|
||||
#endif
|
||||
#elif defined(_WIN64)
|
||||
wcscat (args, L",g_win32_run_session_bus");
|
||||
#else
|
||||
wcscat (args, L",g_win32_run_session_bus@16");
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user