Skip to content

Commit

Permalink
Revert "Remove conditional macro"
Browse files Browse the repository at this point in the history
This reverts commit c96d289.
  • Loading branch information
SoneeJohn committed Nov 15, 2019
1 parent c96d289 commit e962a18
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
4 changes: 4 additions & 0 deletions XCDYouTubeKit/XCDYouTubeVideoPlayerViewController.h
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@
#define null_resettable
#endif

#if TARGET_OS_IOS || (!defined(TARGET_OS_IOS) && TARGET_OS_IPHONE)

#import <MediaPlayer/MediaPlayer.h>

NS_ASSUME_NONNULL_BEGIN
Expand Down Expand Up @@ -124,3 +126,5 @@ MP_EXTERN NSString *const XCDMetadataKeyMediumThumbnailURL DEPRECATED_MSG_ATTRIB
MP_EXTERN NSString *const XCDMetadataKeyLargeThumbnailURL DEPRECATED_MSG_ATTRIBUTE("Use XCDYouTubeVideoUserInfoKey instead.");

NS_ASSUME_NONNULL_END

#endif
2 changes: 2 additions & 0 deletions XCDYouTubeKit/XCDYouTubeVideoPlayerViewController.m
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
//
// Copyright (c) 2013-2016 Cédric Luthi. All rights reserved.
//
#if TARGET_OS_IOS || (!defined(TARGET_OS_IOS) && TARGET_OS_IPHONE)

#import "XCDYouTubeVideoPlayerViewController.h"

Expand Down Expand Up @@ -207,3 +208,4 @@ - (void) viewWillDisappear:(BOOL)animated
}

@end
#endif

0 comments on commit e962a18

Please sign in to comment.