[llvm-commits] CVS: llvm/lib/System/Path.cpp

Jeff Cohen jeffc at jolt-lang.org
Tue Dec 14 20:08:26 PST 2004



Changes in directory llvm/lib/System:

Path.cpp updated: 1.12 -> 1.13
---
Log message:

Fix VC++ compilation errors

---
Diffs of the changes:  (+2 -0)

Index: llvm/lib/System/Path.cpp
diff -u llvm/lib/System/Path.cpp:1.12 llvm/lib/System/Path.cpp:1.13
--- llvm/lib/System/Path.cpp:1.12	Tue Dec 14 19:50:13 2004
+++ llvm/lib/System/Path.cpp	Tue Dec 14 22:08:15 2004
@@ -26,8 +26,10 @@
 Path
 Path::GetLLVMConfigDir() {
   Path result;
+#ifdef LLVM_ETCDIR
   if (result.setDirectory(LLVM_ETCDIR))
     return result;
+#endif
   return GetLLVMDefaultConfigDir();
 }
 






More information about the llvm-commits mailing list