For PR351:
* Consolidate implementation for Unix systems into Unix/Memory.cpp
* Avoid use of symbolic link to #include platform-specific implementation.

llvm-svn: 19152
diff --git a/llvm/lib/System/Memory.cpp b/llvm/lib/System/Memory.cpp
index 6aa5cbc..1ced1e6 100644
--- a/llvm/lib/System/Memory.cpp
+++ b/llvm/lib/System/Memory.cpp
@@ -13,6 +13,7 @@
 //===----------------------------------------------------------------------===//
 
 #include "llvm/System/Memory.h"
+#include "llvm/Config/config.h"
 
 namespace llvm {
 using namespace sys;
@@ -25,6 +26,11 @@
 }
 
 // Include the platform-specific parts of this class.
-#include "platform/Memory.cpp"
+#ifdef LLVM_ON_UNIX
+#include "Unix/Memory.cpp"
+#endif
+#ifdef LLVM_ON_WIN32
+#include "Win32/Memory.cpp"
+#endif
 
 // vim: sw=2 smartindent smarttab tw=80 autoindent expandtab