aboutsummaryrefslogtreecommitdiffstats
path: root/googletest/include/gtest/internal
diff options
context:
space:
mode:
authorChris Johnson <chrisjohnsonmail@gmail.com>2019-08-28 09:39:35 -0500
committerChris Johnson <chrisjohnsonmail@gmail.com>2019-10-11 11:47:49 -0500
commit40a6b9662199890b20ccbac3b964ce04713d8ede (patch)
treed2123c108b6a6bbcf7d5f07dc792daab57c993fb /googletest/include/gtest/internal
parentba513d2c9525a7c986c115ed5d603f2cf17c6016 (diff)
downloadgoogletest-40a6b9662199890b20ccbac3b964ce04713d8ede.tar.gz
googletest-40a6b9662199890b20ccbac3b964ce04713d8ede.tar.bz2
googletest-40a6b9662199890b20ccbac3b964ce04713d8ede.zip
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/include/gtest/internal')
-rw-r--r--googletest/include/gtest/internal/gtest-port-arch.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/googletest/include/gtest/internal/gtest-port-arch.h b/googletest/include/gtest/internal/gtest-port-arch.h
index cece93db..e2acad35 100644
--- a/googletest/include/gtest/internal/gtest-port-arch.h
+++ b/googletest/include/gtest/internal/gtest-port-arch.h
@@ -102,6 +102,10 @@
# define GTEST_OS_QNX 1
#elif defined(__HAIKU__)
#define GTEST_OS_HAIKU 1
+#elif defined ESP8266
+# define GTEST_OS_ESP8266 1
+#elif defined ESP32
+# define GTEST_OS_ESP32 1
#endif // __CYGWIN__
#endif // GTEST_INCLUDE_GTEST_INTERNAL_GTEST_PORT_ARCH_H_