mirror of
				https://github.com/catchorg/Catch2.git
				synced 2025-10-31 12:17:11 +01:00 
			
		
		
		
	Fix color mode detection on FreeBSD by adding platform macro
This commit is contained in:
		 Shloka Jain
					Shloka Jain
				
			
				
					committed by
					
						 Martin Hořeňovský
						Martin Hořeňovský
					
				
			
			
				
	
			
			
			 Martin Hořeňovský
						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