diff options
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(); } |