aboutsummaryrefslogtreecommitdiffstats
path: root/googlemock/src/gmock_main.cc
diff options
context:
space:
mode:
Diffstat (limited to 'googlemock/src/gmock_main.cc')
-rw-r--r--googlemock/src/gmock_main.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/googlemock/src/gmock_main.cc b/googlemock/src/gmock_main.cc
index 98611b93..4d4f48b7 100644
--- a/googlemock/src/gmock_main.cc
+++ b/googlemock/src/gmock_main.cc
@@ -32,7 +32,7 @@
#include "gmock/gmock.h"
#include "gtest/gtest.h"
-#ifdef ARDUINO
+#if defined GTEST_OS_ESP8266 || defined GTEST_OS_ESP32
void setup() {
// Since Google Mock depends on Google Test, InitGoogleMock() is
// also responsible for initializing Google Test. Therefore there's