Fix color mode detection on FreeBSD by adding platform macro

This commit is contained in:
Shloka Jain authored and Martin Hořeňovský committed 2025-08-12 14:38:50 +02:00
1 parent 7cad6d7539
commit 3e82ef9317
1 file changed
+1 -1
+1 -1
View File
@@ -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