mirror of
https://github.com/catchorg/Catch2.git
synced 2024-11-22 21:36:11 +01:00
Fix platform detection for iOS
This commit is contained in:
parent
b2dd48f0c0
commit
e28763ad05
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user