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:
Tomas Zeman authored and Martin Hořeňovský committed 2018-03-07 10:35:32 +01:00
1 parent 352853ed7e
commit 95c849f613
6 files changed
+56 -26

No files matched your search

+6 -1
View File
@@ -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;