From b91b441ac99802ac29d21da22132b9edfc4fa17e Mon Sep 17 00:00:00 2001 From: Fabian Guerra Date: Wed, 27 Feb 2019 15:54:47 -0800 Subject: [ios, macos] Remove deprecated macro. --- platform/darwin/src/MGLEventsManager.m | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/platform/darwin/src/MGLEventsManager.m b/platform/darwin/src/MGLEventsManager.m index f46a3196a6..3790f55c26 100644 --- a/platform/darwin/src/MGLEventsManager.m +++ b/platform/darwin/src/MGLEventsManager.m @@ -1,5 +1,5 @@ #import "MGLEventsManager_Private.h" -#if TARGET_OS_IPHONE || TARGET_OS_SIMULATOR +#if TARGET_OS_IOS #import "MGLMapboxEvents.h" #endif @@ -16,7 +16,7 @@ } - (void)handleEvent:(NSString *)eventName withAttributes:(NSDictionary *)attributes { -#if TARGET_OS_IPHONE || TARGET_OS_SIMULATOR +#if TARGET_OS_IOS [MGLMapboxEvents pushEvent:eventName withAttributes:attributes]; #endif if (self.shouldHandleEvents && self.handler) { -- cgit v1.2.1