mirror of
				https://github.com/OpenMW/openmw.git
				synced 2025-11-03 23:56:43 +00:00 
			
		
		
		
	Fix for compiling Win32 debug.
This commit is contained in:
		
							parent
							
								
									30f8e279ed
								
							
						
					
					
						commit
						ead801f2d0
					
				
					 1 changed files with 2 additions and 0 deletions
				
			
		| 
						 | 
					@ -299,8 +299,10 @@ int main(int argc, char**argv)
 | 
				
			||||||
    std::streambuf* cout_rdbuf = std::cout.rdbuf ();
 | 
					    std::streambuf* cout_rdbuf = std::cout.rdbuf ();
 | 
				
			||||||
    std::streambuf* cerr_rdbuf = std::cerr.rdbuf ();
 | 
					    std::streambuf* cerr_rdbuf = std::cerr.rdbuf ();
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					#if !(defined(_WIN32) && defined(_DEBUG))
 | 
				
			||||||
    boost::iostreams::stream_buffer<Tee> coutsb;
 | 
					    boost::iostreams::stream_buffer<Tee> coutsb;
 | 
				
			||||||
    boost::iostreams::stream_buffer<Tee> cerrsb;
 | 
					    boost::iostreams::stream_buffer<Tee> cerrsb;
 | 
				
			||||||
 | 
					#endif
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    std::ostream oldcout(cout_rdbuf);
 | 
					    std::ostream oldcout(cout_rdbuf);
 | 
				
			||||||
    std::ostream oldcerr(cerr_rdbuf);
 | 
					    std::ostream oldcerr(cerr_rdbuf);
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in a new issue