mirror of
				https://github.com/fmtlib/fmt.git
				synced 2025-11-03 23:51:41 +01:00 
			
		
		
		
	Improve POSIX API detection
This commit is contained in:
		@@ -1819,7 +1819,7 @@ TEST(FormatIntTest, FormatInt) {
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
TEST(FormatTest, Print) {
 | 
			
		||||
#if FMT_USE_FILE_DESCRIPTORS
 | 
			
		||||
#if FMT_USE_FCNTL
 | 
			
		||||
  EXPECT_WRITE(stdout, fmt::print("Don't {}!", "panic"), "Don't panic!");
 | 
			
		||||
  EXPECT_WRITE(stderr, fmt::print(stderr, "Don't {}!", "panic"),
 | 
			
		||||
               "Don't panic!");
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user