MCPcopy Create free account
hub / github.com/RenderKit/embree / useColourOnPlatform

Function useColourOnPlatform

tutorials/external/catch.hpp:8260–8271  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

8258 };
8259
8260 bool useColourOnPlatform() {
8261 return
8262#ifdef CATCH_PLATFORM_MAC
8263 !isDebuggerActive() &&
8264#endif
8265#if !(defined(__DJGPP__) && defined(__STRICT_ANSI__))
8266 isatty(STDOUT_FILENO)
8267#else
8268 false
8269#endif
8270 ;
8271 }
8272 IColourImpl* platformColourInstance() {
8273 ErrnoGuard guard;
8274 IConfigPtr config = getCurrentContext().getConfig();

Callers 1

platformColourInstanceFunction · 0.85

Calls 1

isDebuggerActiveFunction · 0.85

Tested by

no test coverage detected