summaryrefslogtreecommitdiffstats
path: root/googletest/src/gtest_main.cc
diff options
context:
space:
mode:
Diffstat (limited to 'googletest/src/gtest_main.cc')
-rw-r--r--googletest/src/gtest_main.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/googletest/src/gtest_main.cc b/googletest/src/gtest_main.cc
index f6e1dd9..361cb73 100644
--- a/googletest/src/gtest_main.cc
+++ b/googletest/src/gtest_main.cc
@@ -30,7 +30,7 @@
#include <cstdio>
#include "gtest/gtest.h"
-#ifdef ARDUINO
+#if defined GTEST_OS_ESP8266 || defined GTEST_OS_ESP32
void setup() {
testing::InitGoogleTest();
}