Paths like C:/foo will never work on UNIX platforms, don't bother
implicitly adding them to the search path.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@276606
91177308-0d34-0410-b5e6-
96231b3b80d8
return;
}
+#if defined(LLVM_ON_WIN32)
// As a fallback, select default install paths.
// FIXME: Don't guess drives and paths like this on Windows.
const StringRef Paths[] = {
"C:/Program Files/Microsoft Visual Studio 8/VC/PlatformSDK/Include"
};
addSystemIncludes(DriverArgs, CC1Args, Paths);
+#endif
}
void MSVCToolChain::AddClangCXXStdlibIncludeArgs(const ArgList &DriverArgs,