mirror of
https://github.com/catchorg/Catch2.git
synced 2025-12-13 21:52:11 +01:00
Fix conditional compilation for FreeBSD to exclude PlayStation platform
This commit is contained in:
committed by
Martin Hořeňovský
parent
f80956a43a
commit
97091636d0
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user