summaryrefslogtreecommitdiffstats
path: root/googletest/src/gtest.cc
diff options
context:
space:
mode:
authorChris Johnson <chrisjohnsonmail@gmail.com>2019-08-28 14:39:35 (GMT)
committerChris Johnson <chrisjohnsonmail@gmail.com>2019-10-11 16:47:49 (GMT)
commit40a6b9662199890b20ccbac3b964ce04713d8ede (patch)
treed2123c108b6a6bbcf7d5f07dc792daab57c993fb /googletest/src/gtest.cc
parentba513d2c9525a7c986c115ed5d603f2cf17c6016 (diff)
downloadgoogletest-40a6b9662199890b20ccbac3b964ce04713d8ede.zip
googletest-40a6b9662199890b20ccbac3b964ce04713d8ede.tar.gz
googletest-40a6b9662199890b20ccbac3b964ce04713d8ede.tar.bz2
feat: Add support for ESP8266 platform
Added support for ESP8266 Arduino platform. Refactored Arduino defines to use the GTEST_OS_* model.
Diffstat (limited to 'googletest/src/gtest.cc')
-rw-r--r--googletest/src/gtest.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/googletest/src/gtest.cc b/googletest/src/gtest.cc
index a5b4e5a..a11ce18 100644
--- a/googletest/src/gtest.cc
+++ b/googletest/src/gtest.cc
@@ -4508,6 +4508,7 @@ class ScopedPrematureExitFile {
}
~ScopedPrematureExitFile() {
+ #if !defined GTEST_OS_ESP8266
if (!premature_exit_filepath_.empty()) {
int retval = remove(premature_exit_filepath_.c_str());
if (retval) {
@@ -4516,6 +4517,7 @@ class ScopedPrematureExitFile {
<< retval;
}
}
+ #endif
}
private: