catch_console_colour.cpp - adjust useColourOnPlatform for iOS

This commit is contained in:
ptc-tgamper authored and Martin Hořeňovský committed 2020-02-13 16:27:56 +01:00
1 parent 6ad743a62b
commit 123b449f8d
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -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__))
+1 -1
View File
@@ -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>