mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-10-09 11:23:48 +00:00
fix defines
This commit is contained in:
parent
4fd004f3c3
commit
e23eb042b9
@ -2,13 +2,13 @@
|
||||
#define OngoingCallContext_h
|
||||
|
||||
#import <Foundation/Foundation.h>
|
||||
#if WEBRTC_MAC
|
||||
#ifndef WEBRTC_IOS
|
||||
#import <AppKit/AppKit.h>
|
||||
#else
|
||||
#import <UIKit/UIKit.h>
|
||||
#endif
|
||||
|
||||
#if WEBRTC_MAC
|
||||
#ifndef WEBRTC_IOS
|
||||
#define UIView NSView
|
||||
#endif
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
#if WEBRTC_MAC
|
||||
#ifndef WEBRTC_IOS
|
||||
#import "OngoingCallThreadLocalContext.h"
|
||||
#else
|
||||
#import <TgVoip/OngoingCallThreadLocalContext.h>
|
||||
@ -9,7 +9,7 @@
|
||||
#import "InstanceImpl.h"
|
||||
#import "VideoCaptureInterface.h"
|
||||
|
||||
#if WEBRTC_MAC
|
||||
#ifndef WEBRTC_IOS
|
||||
#import "platform/darwin/VideoMetalViewMac.h"
|
||||
#define GLVideoView VideoMetalView
|
||||
#define UIViewContentModeScaleAspectFill kCAGravityResizeAspectFill
|
||||
|
Loading…
x
Reference in New Issue
Block a user