mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2026-03-06 16:30:55 +00:00
fix defines
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user