Progmasoft Git

catch3

Progmasoft Catch3: an independently maintained C++17 test framework with a parallel runner, property checks, snapshots and structured results.

Clonegit clone https://git.progmasoft.com/catch3

Fix platform detection for iOS

Commit
e28763ad05ace057e443b1e0003481222bc13a1c
Author
Daniel Doubleday ·
Committer
Martin Hořeňovský
Parents
b2dd48f0c046

Files · Download .tar.gz

Changes

 include/internal/catch_platform.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/internal/catch_platform.h b/include/internal/catch_platform.h
index 90cf0eb7..cbf17923 100644
--- a/include/internal/catch_platform.h
+++ b/include/internal/catch_platform.h
@@ -11,7 +11,7 @@
 
 #ifdef __APPLE__
 # include <TargetConditionals.h>
-# if TARGET_OS_MAC == 1
+# if TARGET_OS_OSX == 1
 #  define CATCH_PLATFORM_MAC
 # elif TARGET_OS_IPHONE == 1
 #  define CATCH_PLATFORM_IPHONE