Skip to content

Commit

Permalink
Added conditional check when compiling for UIKit for Mac targets
Browse files Browse the repository at this point in the history
  • Loading branch information
colinhumber committed Jun 20, 2019
1 parent 0a59b0d commit a536bf4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Sources/NSTask+AnyPromise.h
Original file line number Diff line number Diff line change
@@ -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 <Foundation/NSTask.h>
#import <PromiseKit/AnyPromise.h>
Expand Down
2 changes: 1 addition & 1 deletion Sources/NSTask+AnyPromise.m
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
#import <Foundation/NSString.h>
#import <Foundation/NSError.h>

#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"

Expand Down

0 comments on commit a536bf4

Please sign in to comment.