Fix platform detection for iOS

This commit is contained in:
Daniel Doubleday 2017-11-05 17:34:08 +01:00 committed by Martin Hořeňovský
parent b2dd48f0c0
commit e28763ad05

View File

@ -11,7 +11,7 @@
#ifdef __APPLE__ #ifdef __APPLE__
# include <TargetConditionals.h> # include <TargetConditionals.h>
# if TARGET_OS_MAC == 1 # if TARGET_OS_OSX == 1
# define CATCH_PLATFORM_MAC # define CATCH_PLATFORM_MAC
# elif TARGET_OS_IPHONE == 1 # elif TARGET_OS_IPHONE == 1
# define CATCH_PLATFORM_IPHONE # define CATCH_PLATFORM_IPHONE