mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-14 14:24:05 +00:00
There is no std::errc::success, remove the llvm one.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@209960 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -124,7 +124,7 @@ LockFileManager::LockFileManager(StringRef FileName)
|
||||
// Create a link from the lock file name. If this succeeds, we're done.
|
||||
error_code EC =
|
||||
sys::fs::create_link(UniqueLockFileName.str(), LockFileName.str());
|
||||
if (EC == errc::success)
|
||||
if (!EC)
|
||||
return;
|
||||
|
||||
if (EC != errc::file_exists) {
|
||||
|
Reference in New Issue
Block a user