diff options
author | Tom Hughes <tomhughes@google.com> | 2023-01-05 19:14:51 (GMT) |
---|---|---|
committer | Copybara-Service <copybara-worker@google.com> | 2023-01-05 19:15:29 (GMT) |
commit | 934542165899c786cb5d8a710529c37184730183 (patch) | |
tree | 3cd22a9136f2e7cf419ccd0ee2af8aa0dd969bd4 /googletest | |
parent | e5e46b09a10cf0f575dbab2702b72f2460e31964 (diff) | |
download | googletest-934542165899c786cb5d8a710529c37184730183.zip googletest-934542165899c786cb5d8a710529c37184730183.tar.gz googletest-934542165899c786cb5d8a710529c37184730183.tar.bz2 |
Fix GTEST_OS_ESP8266 check
Everywhere else in the code, we check the value of GTEST_OS_ESP8266, not just
whether it is defined.
PiperOrigin-RevId: 499946909
Change-Id: I86f7e8947abb4e928fc24d1416d8237987b27845
Diffstat (limited to 'googletest')
-rw-r--r-- | googletest/src/gtest.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/googletest/src/gtest.cc b/googletest/src/gtest.cc index 08eaefb..a64e887 100644 --- a/googletest/src/gtest.cc +++ b/googletest/src/gtest.cc @@ -5030,7 +5030,7 @@ class ScopedPrematureExitFile { } ~ScopedPrematureExitFile() { -#if !defined GTEST_OS_ESP8266 +#if !GTEST_OS_ESP8266 if (!premature_exit_filepath_.empty()) { int retval = remove(premature_exit_filepath_.c_str()); if (retval) { |