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 | e4083418542a74570d20e1f476c3a5b1468a22e7 (patch) | |
| tree | 165cb212e95679ee945efcff3248646201792cde /llvm/lib/System/Path.cpp | |
| parent | 527ac0a1c7e8df79acdb2a4ceb4c664c380286d2 (diff) | |
| download | bcm5719-llvm-e4083418542a74570d20e1f476c3a5b1468a22e7.tar.gz bcm5719-llvm-e4083418542a74570d20e1f476c3a5b1468a22e7.zip | |
Fix VC++ compilation errors
llvm-svn: 18953
Diffstat (limited to 'llvm/lib/System/Path.cpp')
| -rw-r--r-- | llvm/lib/System/Path.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/llvm/lib/System/Path.cpp b/llvm/lib/System/Path.cpp index 1c2b00e6456..dd0f275d7db 100644 --- a/llvm/lib/System/Path.cpp +++ b/llvm/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(); } |

