mirror of
https://github.com/catchorg/Catch2.git
synced 2025-08-14 19:25:40 +02:00
Fix color mode detection on FreeBSD by adding platform macro
This commit is contained in:

committed by
Martin Hořeňovský

parent
7cad6d7539
commit
3e82ef9317
@@ -161,7 +161,7 @@ namespace {
|
||||
#endif // Windows/ ANSI/ None
|
||||
|
||||
|
||||
#if defined( CATCH_PLATFORM_LINUX ) || defined( CATCH_PLATFORM_MAC ) || defined( __GLIBC__ )
|
||||
#if defined( CATCH_PLATFORM_LINUX ) || defined( CATCH_PLATFORM_MAC ) || defined( __GLIBC__ ) || defined(__FreeBSD__)
|
||||
# define CATCH_INTERNAL_HAS_ISATTY
|
||||
# include <unistd.h>
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user