From 123b449f8d11a2cfa92057abf04e467b5ec2124f Mon Sep 17 00:00:00 2001 From: ptc-tgamper Date: Wed, 18 Dec 2019 10:19:10 +0100 Subject: [PATCH] catch_console_colour.cpp - adjust useColourOnPlatform for iOS --- src/catch2/catch_console_colour.cpp | 2 +- src/catch2/catch_debugger.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/catch2/catch_console_colour.cpp b/src/catch2/catch_console_colour.cpp index 030b4b7c..6a9bcc38 100644 --- a/src/catch2/catch_console_colour.cpp +++ b/src/catch2/catch_console_colour.cpp @@ -167,7 +167,7 @@ namespace { bool useColourOnPlatform() { return -#ifdef CATCH_PLATFORM_MAC +#if defined(CATCH_PLATFORM_MAC) || defined(CATCH_PLATFORM_IPHONE) !isDebuggerActive() && #endif #if !(defined(__DJGPP__) && defined(__STRICT_ANSI__)) diff --git a/src/catch2/catch_debugger.cpp b/src/catch2/catch_debugger.cpp index 02a8f818..068025af 100644 --- a/src/catch2/catch_debugger.cpp +++ b/src/catch2/catch_debugger.cpp @@ -12,7 +12,7 @@ #include #include -#if defined(CATCH_PLATFORM_MAC) || defined(CATCH_PLATFORM_IPHONE) +#if defined(CATCH_PLATFORM_MAC) || defined(CATCH_PLATFORM_IPHONE) # include # include