diff options
author | Jason Wray <jason@mapbox.com> | 2016-05-04 21:05:05 -0400 |
---|---|---|
committer | Jason Wray <jason@mapbox.com> | 2016-07-26 18:54:02 -0700 |
commit | fa27c4f880ff89f51b6290fc50c3e61f931e9a52 (patch) | |
tree | a5e137188ef75134505b11028697e151e2a25057 | |
parent | deb681b3a00263b2c80ee8d34cc050c7a4110b63 (diff) | |
download | qtlocation-mapboxgl-fa27c4f880ff89f51b6290fc50c3e61f931e9a52.tar.gz |
Fix OS X build by actually excluding UIKit
-rw-r--r-- | platform/darwin/src/MGLAnnotation.h | 4 | ||||
-rw-r--r-- | platform/darwin/src/MGLShape.h | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/platform/darwin/src/MGLAnnotation.h b/platform/darwin/src/MGLAnnotation.h index 24ce72a55c..03afdfc7c3 100644 --- a/platform/darwin/src/MGLAnnotation.h +++ b/platform/darwin/src/MGLAnnotation.h @@ -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 @@ -54,7 +54,7 @@ NS_ASSUME_NONNULL_BEGIN */ @property (nonatomic, readonly, copy, nullable) NSString *subtitle; -#ifdef TARGET_OS_IPHONE +#if TARGET_OS_IPHONE @property (nonatomic) BOOL canShowCallout; diff --git a/platform/darwin/src/MGLShape.h b/platform/darwin/src/MGLShape.h index a61e79c260..8a43c75950 100644 --- a/platform/darwin/src/MGLShape.h +++ b/platform/darwin/src/MGLShape.h @@ -1,6 +1,6 @@ #import <Foundation/Foundation.h> -#ifdef TARGET_OS_IPHONE +#if TARGET_OS_IPHONE #import <UIKit/UIKit.h> #import "MGLCalloutView.h" #endif @@ -31,7 +31,7 @@ NS_ASSUME_NONNULL_BEGIN */ @property (nonatomic, copy, nullable) NSString *subtitle; -#ifdef TARGET_OS_IPHONE +#if TARGET_OS_IPHONE @property (nonatomic) BOOL canShowCallout; |