mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-02-25 18:10:35 +00:00
Fix build.
This commit is contained in:
parent
fbf4f912c6
commit
c13d0e96ef
@ -318,26 +318,6 @@ bool DumpCallback(const google_breakpad::MinidumpDescriptor &md, void *context,
|
||||
#endif // !DESKTOP_APP_DISABLE_CRASH_REPORTS
|
||||
|
||||
} // namespace
|
||||
if (Platform::IsWindowsStoreBuild()) {
|
||||
return Platform::IsWindows64Bit()
|
||||
? "WinStore64Bit"
|
||||
: "WinStore32Bit";
|
||||
} else if (Platform::IsWindows32Bit()) {
|
||||
return "Windows32Bit";
|
||||
} else if (Platform::IsWindows64Bit()) {
|
||||
return "Windows64Bit";
|
||||
} else if (Platform::IsMacStoreBuild()) {
|
||||
return "MacAppStore";
|
||||
} else if (Platform::IsOSXBuild()) {
|
||||
return "OSX";
|
||||
} else if (Platform::IsMac()) {
|
||||
return "MacOS";
|
||||
} else if (Platform::IsLinux32Bit()) {
|
||||
return "Linux32Bit";
|
||||
} else if (Platform::IsLinux64Bit()) {
|
||||
return "Linux64bit";
|
||||
}
|
||||
Unexpected("Platform in CrashReports::PlatformString.");
|
||||
|
||||
QString PlatformString() {
|
||||
if (Platform::IsWindowsStoreBuild()) {
|
||||
|
Loading…
Reference in New Issue
Block a user