From e4083418542a74570d20e1f476c3a5b1468a22e7 Mon Sep 17 00:00:00 2001 From: Jeff Cohen Date: Wed, 15 Dec 2004 04:08:15 +0000 Subject: Fix VC++ compilation errors llvm-svn: 18953 --- llvm/lib/System/Path.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'llvm/lib/System/Path.cpp') 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(); } -- cgit v1.2.3