Read-only mirrors. Development, issues and pull requests are on GitHub.

summaryrefslogtreecommitdiffhomepage
path: root/src/catch2
diff options
context:
space:
mode:
authorptc-tgamper2019-12-18 10:19:10 +0100
committerMartin Hořeňovský2020-02-13 16:27:56 +0100
commit123b449f8d11a2cfa92057abf04e467b5ec2124f (patch)
tree76ed5f8e1c378bb0209fb26ac3007edb24dcd8fd /src/catch2
parent6ad743a62b766082dbadfec67e812a006898e856 (diff)
downloadcatch3-123b449f8d11a2cfa92057abf04e467b5ec2124f.tar.gz
catch_console_colour.cpp - adjust useColourOnPlatform for iOS
Diffstat (limited to 'src/catch2')
-rw-r--r--src/catch2/catch_console_colour.cpp2
-rw-r--r--src/catch2/catch_debugger.cpp2
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 <catch2/catch_stream.h>
#include <catch2/catch_platform.h>
-#if defined(CATCH_PLATFORM_MAC) || defined(CATCH_PLATFORM_IPHONE)
+#if defined(CATCH_PLATFORM_MAC) || defined(CATCH_PLATFORM_IPHONE)
# include <assert.h>
# include <stdbool.h>