Version 1.9.3: Fix build for OS X 10.10-10.11.

This commit is contained in:
John Preston
2019-12-31 17:52:15 +03:00
parent 651ef2aa78
commit da7178089f
4 changed files with 5 additions and 4 deletions
@@ -26,8 +26,10 @@ namespace {
auto ok1 = true;
auto ok2 = true;
auto ok3 = true;
auto minutes = minutes1.toString();
minutes += minutes2;
const auto result = (hours.isEmpty() ? 0 : hours.toInt(&ok1)) * 3600
+ (minutes1 + minutes2).toInt(&ok2) * 60
+ minutes.toInt(&ok2) * 60
+ seconds.toInt(&ok3);
return (ok1 && ok2 && ok3) ? result : -1;
}
@@ -7,7 +7,6 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
*/
#pragma once
#include "scheme.h"
#include "base/flags.h"
inline MTPbool MTP_bool(bool v) {
+1 -1
View File
@@ -775,10 +775,10 @@ PUBLIC
${tgvoip_loc}
PRIVATE
${tgvoip_loc}/webrtc_dsp
${libs_loc}/opus/include
)
target_link_libraries(lib_tgvoip
PRIVATE
desktop-app::external_openssl
desktop-app::external_opus
)
+1 -1
Submodule cmake updated: b08c57c8d0...4490667520