For PR351:
Use the LLVM_ON_UNIX and LLVM_ON_WIN32 #defines to include the implementation
instead of relying upon the "platform" link
llvm-svn: 19132
diff --git a/llvm/lib/System/Path.cpp b/llvm/lib/System/Path.cpp
index dd0f275..3187bfe 100644
--- a/llvm/lib/System/Path.cpp
+++ b/llvm/lib/System/Path.cpp
@@ -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