From a536bf4e66421b47cea67ce85217f6dae26847ec Mon Sep 17 00:00:00 2001 From: Colin Humber Date: Thu, 20 Jun 2019 10:06:13 -0600 Subject: [PATCH] Added conditional check when compiling for UIKit for Mac targets --- Sources/NSTask+AnyPromise.h | 2 +- Sources/NSTask+AnyPromise.m | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Sources/NSTask+AnyPromise.h b/Sources/NSTask+AnyPromise.h index 29c2c03..6036897 100644 --- a/Sources/NSTask+AnyPromise.h +++ b/Sources/NSTask+AnyPromise.h @@ -1,4 +1,4 @@ -#if TARGET_OS_MAC && !TARGET_OS_EMBEDDED && !TARGET_OS_SIMULATOR +#if TARGET_OS_MAC && !TARGET_OS_EMBEDDED && !TARGET_OS_SIMULATOR && !TARGET_OS_UIKITFORMAC #import #import diff --git a/Sources/NSTask+AnyPromise.m b/Sources/NSTask+AnyPromise.m index beae277..fa291d3 100644 --- a/Sources/NSTask+AnyPromise.m +++ b/Sources/NSTask+AnyPromise.m @@ -4,7 +4,7 @@ #import #import -#if TARGET_OS_MAC && !TARGET_OS_EMBEDDED && !TARGET_OS_SIMULATOR +#if TARGET_OS_MAC && !TARGET_OS_EMBEDDED && !TARGET_OS_SIMULATOR && !TARGET_OS_UIKITFORMAC #import "NSTask+AnyPromise.h"