| 8042 | }; |
| 8043 | |
| 8044 | bool useColourOnPlatform() { |
| 8045 | return |
| 8046 | #ifdef CATCH_PLATFORM_MAC |
| 8047 | !isDebuggerActive() && |
| 8048 | #endif |
| 8049 | #if !(defined(__DJGPP__) && defined(__STRICT_ANSI__)) |
| 8050 | isatty(STDOUT_FILENO) |
| 8051 | #else |
| 8052 | false |
| 8053 | #endif |
| 8054 | ; |
| 8055 | } |
| 8056 | IColourImpl* platformColourInstance() { |
| 8057 | ErrnoGuard guard; |
| 8058 | IConfigPtr config = getCurrentContext().getConfig(); |
no test coverage detected