From 611ba3ea3300b71eb95dc4e45f20eee5dddd32e1 Mon Sep 17 00:00:00 2001 From: dim Date: Sun, 17 Jul 2011 15:40:56 +0000 Subject: Vendor import of clang trunk r135360: http://llvm.org/svn/llvm-project/cfe/trunk@135360 --- unittests/Basic/FileManagerTest.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'unittests/Basic/FileManagerTest.cpp') diff --git a/unittests/Basic/FileManagerTest.cpp b/unittests/Basic/FileManagerTest.cpp index 8072779..a725a43 100644 --- a/unittests/Basic/FileManagerTest.cpp +++ b/unittests/Basic/FileManagerTest.cpp @@ -30,7 +30,7 @@ private: void InjectFileOrDirectory(const char *Path, ino_t INode, bool IsFile) { struct stat statBuf = {}; statBuf.st_dev = 1; -#ifndef LLVM_ON_WIN32 // struct stat has no st_ino field on Windows. +#ifndef _WIN32 // struct stat has no st_ino field on Windows. statBuf.st_ino = INode; #endif statBuf.st_mode = IsFile ? (0777 | S_IFREG) // a regular file @@ -187,7 +187,7 @@ TEST_F(FileManagerTest, getFileReturnsNULLForNonexistentFile) { // The following tests apply to Unix-like system only. -#ifndef LLVM_ON_WIN32 +#ifndef _WIN32 // getFile() returns the same FileEntry for real files that are aliases. TEST_F(FileManagerTest, getFileReturnsSameFileEntryForAliasedRealFiles) { @@ -217,6 +217,6 @@ TEST_F(FileManagerTest, getFileReturnsSameFileEntryForAliasedVirtualFiles) { EXPECT_EQ(manager.getFile("abc/foo.cpp"), manager.getFile("abc/bar.cpp")); } -#endif // !LLVM_ON_WIN32 +#endif // !_WIN32 } // anonymous namespace -- cgit v1.1