From b6c0c9fe929c8db6301beb7bea7e4f0b7621d9f1 Mon Sep 17 00:00:00 2001 From: Jason Wray Date: Wed, 4 May 2016 21:05:05 -0400 Subject: [PATCH] Fix OS X build by actually excluding UIKit --- platform/darwin/src/MGLAnnotation.h | 4 ++-- 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 df2b10e0cf2..1adf7dc1f37 100644 --- a/platform/darwin/src/MGLAnnotation.h +++ b/platform/darwin/src/MGLAnnotation.h @@ -2,7 +2,7 @@ #import #import -#ifdef TARGET_OS_IPHONE +#if TARGET_OS_IPHONE #import #import "MGLCalloutView.h" #endif @@ -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; diff --git a/platform/darwin/src/MGLShape.h b/platform/darwin/src/MGLShape.h index a8e1a867ee6..ab6f3540fb4 100644 --- a/platform/darwin/src/MGLShape.h +++ b/platform/darwin/src/MGLShape.h @@ -1,6 +1,6 @@ #import -#ifdef TARGET_OS_IPHONE +#if TARGET_OS_IPHONE #import #import "MGLCalloutView.h" #endif @@ -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;