Beta version 1.7.4: Fix build for Xcode.

This commit is contained in:
John Preston 2019-06-04 21:13:47 +03:00
parent c7b1683f6e
commit dcdaee3db2
5 changed files with 8 additions and 1 deletions

View File

@ -7,6 +7,8 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
*/
#pragma once
#include "platform/platform_info.h"
namespace Platform {
inline constexpr bool IsLinux() {

View File

@ -7,6 +7,8 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
*/
#pragma once
#include "platform/platform_info.h"
namespace Platform {
inline constexpr bool IsMac() {

View File

@ -7,6 +7,7 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
*/
#include "platform/mac/info_mac.h"
#include "platform/platform_info.h"
#include "platform/mac/mac_utilities.h"
#include <sys/sysctl.h>

View File

@ -7,6 +7,8 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
*/
#pragma once
#include "platform/platform_info.h"
namespace Platform {
inline constexpr bool IsWindows() {

View File

@ -26,7 +26,7 @@ class Bar : public Ui::RpWidget {
public:
Bar(not_null<QWidget*> parent, QDate date);
int resizeGetHeight(int newWidth);
int resizeGetHeight(int newWidth) override;
rpl::producer<> hideClicks() const;