mirror of
https://github.com/catchorg/Catch2.git
synced 2025-09-25 05:55:40 +02:00
Introduce support for DJGPP cross compiler
DJGPP cross compiler is targeting DOS which does not support POSIX signals. Probably for the same reason (targeting DOS) this compiler does not support wide characters.
This commit is contained in:

committed by
Martin Hořeňovský

parent
352853ed7e
commit
95c849f613
@@ -169,7 +169,12 @@ namespace {
|
||||
#ifdef CATCH_PLATFORM_MAC
|
||||
!isDebuggerActive() &&
|
||||
#endif
|
||||
isatty(STDOUT_FILENO);
|
||||
#if !(defined(__DJGPP__) && defined(__STRICT_ANSI__))
|
||||
isatty(STDOUT_FILENO)
|
||||
#else
|
||||
false
|
||||
#endif
|
||||
;
|
||||
}
|
||||
IColourImpl* platformColourInstance() {
|
||||
ErrnoGuard guard;
|
||||
|
Reference in New Issue
Block a user