Skip to content

Commit 67a33cf

Browse files
committed
Improve OS X target conditional macro.
1 parent 0c3fbec commit 67a33cf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Parse/PFConstants.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -465,7 +465,7 @@ extern NSString *const __nonnull PFNetworkNotificationURLResponseBodyUserInfoKey
465465
#endif
466466

467467
#ifndef PF_TARGET_OS_OSX
468-
# define PF_TARGET_OS_OSX TARGET_OS_MAC && !TARGET_OS_IOS && !TARGET_OS_WATCH && !TARGET_OS_TV
468+
# define PF_TARGET_OS_OSX (TARGET_OS_MAC && !TARGET_OS_IOS && !TARGET_OS_WATCH && !TARGET_OS_TV && !TARGET_IPHONE_SIMULATOR)
469469
#endif
470470

471471
///--------------------------------------

0 commit comments

Comments
 (0)