mirror of
https://github.com/catchorg/Catch2.git
synced 2024-12-23 03:43:28 +01:00
catch_console_colour.cpp - adjust useColourOnPlatform for iOS
This commit is contained in:
parent
6ad743a62b
commit
123b449f8d
@ -167,7 +167,7 @@ namespace {
|
|||||||
|
|
||||||
bool useColourOnPlatform() {
|
bool useColourOnPlatform() {
|
||||||
return
|
return
|
||||||
#ifdef CATCH_PLATFORM_MAC
|
#if defined(CATCH_PLATFORM_MAC) || defined(CATCH_PLATFORM_IPHONE)
|
||||||
!isDebuggerActive() &&
|
!isDebuggerActive() &&
|
||||||
#endif
|
#endif
|
||||||
#if !(defined(__DJGPP__) && defined(__STRICT_ANSI__))
|
#if !(defined(__DJGPP__) && defined(__STRICT_ANSI__))
|
||||||
|
@ -12,7 +12,7 @@
|
|||||||
#include <catch2/catch_stream.h>
|
#include <catch2/catch_stream.h>
|
||||||
#include <catch2/catch_platform.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 <assert.h>
|
||||||
# include <stdbool.h>
|
# include <stdbool.h>
|
||||||
|
Loading…
Reference in New Issue
Block a user