Fix conditional compilation for FreeBSD to exclude PlayStation platform

This commit is contained in:
Masashi Fujita
2025-12-12 02:25:46 +09:00
committed by Martin Hořeňovský
parent f80956a43a
commit 97091636d0

View File

@@ -164,7 +164,9 @@ namespace {
#if defined( CATCH_PLATFORM_LINUX ) \
|| defined( CATCH_PLATFORM_MAC ) \
|| defined( __GLIBC__ ) \
|| defined( __FreeBSD__ ) \
|| (defined( __FreeBSD__ ) \
/* PlayStation platform does not have `isatty()` */ \
&& !defined(CATCH_PLATFORM_PLAYSTATION)) \
|| defined( CATCH_PLATFORM_QNX )
# define CATCH_INTERNAL_HAS_ISATTY
# include <unistd.h>