summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJason Wray <jason@mapbox.com>2016-05-04 21:05:05 -0400
committerJason Wray <jason@mapbox.com>2016-07-26 18:54:02 -0700
commitfa27c4f880ff89f51b6290fc50c3e61f931e9a52 (patch)
treea5e137188ef75134505b11028697e151e2a25057
parentdeb681b3a00263b2c80ee8d34cc050c7a4110b63 (diff)
downloadqtlocation-mapboxgl-fa27c4f880ff89f51b6290fc50c3e61f931e9a52.tar.gz
Fix OS X build by actually excluding UIKit
-rw-r--r--platform/darwin/src/MGLAnnotation.h4
-rw-r--r--platform/darwin/src/MGLShape.h4
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;