mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-14 11:32:34 +00:00
Fix the windows build.
Sorry for the noise. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@215249 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
2f58085b57
commit
cea3043216
@ -542,7 +542,7 @@ void native(const Twine &path, SmallVectorImpl<char> &result) {
|
||||
|
||||
void native(SmallVectorImpl<char> &Path) {
|
||||
#ifdef LLVM_ON_WIN32
|
||||
std::replace(path.begin(), path.end(), '/', '\\');
|
||||
std::replace(Path.begin(), Path.end(), '/', '\\');
|
||||
#else
|
||||
for (auto PI = Path.begin(), PE = Path.end(); PI < PE; ++PI) {
|
||||
if (*PI == '\\') {
|
||||
|
Loading…
Reference in New Issue
Block a user