aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulien Combattelli <julien.combattelli@gmail.com>2023-07-27 10:19:12 +0200
committerJulien Combattelli <julien.combattelli@gmail.com>2023-07-29 15:54:54 +0200
commitefe6bb1db894556b5125b3b3147d6c37fbaffa51 (patch)
treeb690abc88276b513d26f86b8c8562d5e2956e7ce
parent40412d85124f7c6f3d88454583c4633e5e10fc8c (diff)
downloadgoogletest-efe6bb1db894556b5125b3b3147d6c37fbaffa51.zip
googletest-efe6bb1db894556b5125b3b3147d6c37fbaffa51.tar.gz
googletest-efe6bb1db894556b5125b3b3147d6c37fbaffa51.tar.bz2
Use #if and not #ifdef to check filesystem support
-rw-r--r--googletest/src/gtest-internal-inl.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/googletest/src/gtest-internal-inl.h b/googletest/src/gtest-internal-inl.h
index 1e9b5c2..5b7fcbd 100644
--- a/googletest/src/gtest-internal-inl.h
+++ b/googletest/src/gtest-internal-inl.h
@@ -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