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:
Chun-wei Fan 2013-12-12 18:00:52 +08:00
parent c7c1ad4d02
commit 3af58d2e9f

View File

@ -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