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

Reid Spencer reid at x10sys.com
Thu Dec 23 22:29:28 PST 2004



Changes in directory llvm/lib/System:

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

For PR351: http://llvm.cs.uiuc.edu/PR351 :
Use the LLVM_ON_UNIX and LLVM_ON_WIN32 #defines to include the implementation 
instead of relying upon the "platform" link

---
Diffs of the changes:  (+7 -1)

Index: llvm/lib/System/Path.cpp
diff -u llvm/lib/System/Path.cpp:1.13 llvm/lib/System/Path.cpp:1.14
--- llvm/lib/System/Path.cpp:1.13	Tue Dec 14 22:08:15 2004
+++ llvm/lib/System/Path.cpp	Fri Dec 24 00:29:17 2004
@@ -99,6 +99,12 @@
 }
 
 // Include the truly platform-specific parts of this class.
-#include "platform/Path.cpp"
+
+#if defined(LLVM_ON_UNIX)
+#include "Unix/Path.cpp"
+#endif
+#if defined(LLVM_ON_WIN32)
+#include "Win32/Path.cpp"
+#endif
 
 // vim: sw=2 smartindent smarttab tw=80 autoindent expandtab






More information about the llvm-commits mailing list