diff options
author | Jeff Cohen <jeffc@jolt-lang.org> | 2004-12-15 04:08:15 +0000 |
---|---|---|
committer | Jeff Cohen <jeffc@jolt-lang.org> | 2004-12-15 04:08:15 +0000 |
commit | ab68df02bc29045b9f02783518fbc7d0f23f56b7 (patch) | |
tree | 05f8435d3fa90d478337e8fd1915c39f0213dc6f /lib/System/Path.cpp | |
parent | 6af3d265261e24792b642cd476438cb072b19bbf (diff) |
Fix VC++ compilation errors
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18953 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/System/Path.cpp')
-rw-r--r-- | lib/System/Path.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/System/Path.cpp b/lib/System/Path.cpp index 1c2b00e645..dd0f275d7d 100644 --- a/lib/System/Path.cpp +++ b/lib/System/Path.cpp @@ -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(); } |