Skip to content
This repository has been archived by the owner on Aug 8, 2023. It is now read-only.

Commit

Permalink
Fix OS X build by actually excluding UIKit
Browse files Browse the repository at this point in the history
  • Loading branch information
friedbunny committed May 5, 2016
1 parent e369c19 commit b6c0c9f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions platform/darwin/src/MGLAnnotation.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
#import <CoreLocation/CoreLocation.h>
#import <TargetConditionals.h>

#ifdef TARGET_OS_IPHONE
#if TARGET_OS_IPHONE
#import <UIKit/UIKit.h>
#import "MGLCalloutView.h"
#endif
Expand Down Expand Up @@ -41,7 +41,7 @@ NS_ASSUME_NONNULL_BEGIN
*/
@property (nonatomic, readonly, copy, nullable) NSString *subtitle;

#ifdef TARGET_OS_IPHONE
#if TARGET_OS_IPHONE

@property (nonatomic) BOOL canShowCallout;

Expand Down
4 changes: 2 additions & 2 deletions platform/darwin/src/MGLShape.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#import <Foundation/Foundation.h>

#ifdef TARGET_OS_IPHONE
#if TARGET_OS_IPHONE
#import <UIKit/UIKit.h>
#import "MGLCalloutView.h"
#endif
Expand All @@ -20,7 +20,7 @@ NS_ASSUME_NONNULL_BEGIN
/** The subtitle of the shape annotation. The default value of this property is `nil`. */
@property (nonatomic, copy, nullable) NSString *subtitle;

#ifdef TARGET_OS_IPHONE
#if TARGET_OS_IPHONE

@property (nonatomic) BOOL canShowCallout;

Expand Down

0 comments on commit b6c0c9f

Please sign in to comment.