fix defines

This commit is contained in:
overtake 2020-07-15 17:07:07 +03:00
parent 4fd004f3c3
commit e23eb042b9
2 changed files with 4 additions and 4 deletions

View File

@ -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

View File

@ -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