From 51ea06abf822dd6209ed270befffc9e01c5bd01c Mon Sep 17 00:00:00 2001 From: Reid Spencer Date: Mon, 27 Dec 2004 06:16:25 +0000 Subject: For PR351: * Consolidate implementation for Unix systems into Unix/Program.cpp * Avoid use of symbolic link to #include platform-specific implementation. llvm-svn: 19154 --- llvm/lib/System/Program.cpp | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'llvm/lib/System/Program.cpp') diff --git a/llvm/lib/System/Program.cpp b/llvm/lib/System/Program.cpp index c1dd38f..88a0084 100644 --- a/llvm/lib/System/Program.cpp +++ b/llvm/lib/System/Program.cpp @@ -12,6 +12,7 @@ //===----------------------------------------------------------------------===// #include "llvm/System/Program.h" +#include "llvm/Config/config.h" namespace llvm { using namespace sys; @@ -24,6 +25,11 @@ using namespace sys; } // Include the platform-specific parts of this class. -#include "platform/Program.cpp" +#ifdef LLVM_ON_UNIX +#include "Unix/Program.cpp" +#endif +#ifdef LLVM_ON_WIN32 +#include "Win32/Program.cpp" +#endif // vim: sw=2 smartindent smarttab tw=80 autoindent expandtab -- cgit v1.1