mirror of
https://github.com/google/googletest.git
synced 2024-12-27 10:11:03 +08:00
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
This commit is contained in:
parent
e5e46b09a1
commit
9345421658
@ -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) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user