From 77e00c9c725db3b0a02609962de51127484e49b9 Mon Sep 17 00:00:00 2001 From: KO Myung-Hun <komh@chollian.net> Date: Sun, 1 Apr 2018 16:01:47 +0900 Subject: [PATCH] Fix 3 - googletest-filepath-test failure on OS/2 --- googletest/test/googletest-filepath-test.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/googletest/test/googletest-filepath-test.cc b/googletest/test/googletest-filepath-test.cc index 37f02fb4..72d1c440 100644 --- a/googletest/test/googletest-filepath-test.cc +++ b/googletest/test/googletest-filepath-test.cc @@ -80,7 +80,7 @@ TEST(GetCurrentDirTest, ReturnsCurrentDir) { const FilePath cwd = FilePath::GetCurrentDir(); posix::ChDir(original_dir.c_str()); -# if GTEST_OS_WINDOWS +# if GTEST_OS_WINDOWS || GTEST_OS_OS2 // Skips the ":". const char* const cwd_without_drive = strchr(cwd.c_str(), ':');