Fix VC++ compilation errors

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18953 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Jeff Cohen
2004-12-15 04:08:15 +00:00
parent 6af3d26526
commit ab68df02bc
3 changed files with 4 additions and 12 deletions

View File

@ -26,8 +26,10 @@ using namespace sys;
Path
Path::GetLLVMConfigDir() {
Path result;
#ifdef LLVM_ETCDIR
if (result.setDirectory(LLVM_ETCDIR))
return result;
#endif
return GetLLVMDefaultConfigDir();
}