mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-09-01 15:05:56 +00:00
Fix build.
This commit is contained in:
@@ -318,26 +318,6 @@ bool DumpCallback(const google_breakpad::MinidumpDescriptor &md, void *context,
|
|||||||
#endif // !DESKTOP_APP_DISABLE_CRASH_REPORTS
|
#endif // !DESKTOP_APP_DISABLE_CRASH_REPORTS
|
||||||
|
|
||||||
} // namespace
|
} // 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() {
|
QString PlatformString() {
|
||||||
if (Platform::IsWindowsStoreBuild()) {
|
if (Platform::IsWindowsStoreBuild()) {
|
||||||
|
Reference in New Issue
Block a user