summaryrefslogtreecommitdiffstats
path: root/googlemock/test/gmock-actions_test.cc
diff options
context:
space:
mode:
authorTom Hughes <tomhughes@google.com>2023-03-03 23:54:32 (GMT)
committerCopybara-Service <copybara-worker@google.com>2023-03-06 15:14:21 (GMT)
commit23142843f7c875907a6ed7985174a6e346e82c3d (patch)
tree27fada6ccf3be641ec3ec564887750cf6df98d70 /googlemock/test/gmock-actions_test.cc
parentcead3d57c93ff8c4e5c1bbae57a5c0b0b0f6e168 (diff)
downloadgoogletest-23142843f7c875907a6ed7985174a6e346e82c3d.zip
googletest-23142843f7c875907a6ed7985174a6e346e82c3d.tar.gz
googletest-23142843f7c875907a6ed7985174a6e346e82c3d.tar.bz2
Use "#ifdef GTEST_OS_..." instead of "#if GTEST_OS_..."
This is compatible with compiling with "-Wundef" (#3267). PiperOrigin-RevId: 513943378 Change-Id: I47cf5fabbb77be061c4483a0adc54511af6b191c
Diffstat (limited to 'googlemock/test/gmock-actions_test.cc')
-rw-r--r--googlemock/test/gmock-actions_test.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/googlemock/test/gmock-actions_test.cc b/googlemock/test/gmock-actions_test.cc
index f2d3042..7734830 100644
--- a/googlemock/test/gmock-actions_test.cc
+++ b/googlemock/test/gmock-actions_test.cc
@@ -1592,7 +1592,7 @@ TEST(WithArgsTest, RefQualifiedInnerAction) {
EXPECT_EQ(19, mock.AsStdFunction()(0, 17));
}
-#if !GTEST_OS_WINDOWS_MOBILE
+#ifndef GTEST_OS_WINDOWS_MOBILE
class SetErrnoAndReturnTest : public testing::Test {
protected: