Use #if and not #ifdef to check filesystem support
This commit is contained in:
		@@ -672,7 +672,7 @@ class GTEST_API_ UnitTestImpl {
 | 
			
		||||
  void AddTestInfo(internal::SetUpTestSuiteFunc set_up_tc,
 | 
			
		||||
                   internal::TearDownTestSuiteFunc tear_down_tc,
 | 
			
		||||
                   TestInfo* test_info) {
 | 
			
		||||
#ifdef GTEST_HAS_FILE_SYSTEM
 | 
			
		||||
#if GTEST_HAS_FILE_SYSTEM
 | 
			
		||||
    // In order to support thread-safe death tests, we need to
 | 
			
		||||
    // remember the original working directory when the test program
 | 
			
		||||
    // was first invoked.  We cannot do this in RUN_ALL_TESTS(), as
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user