diff options
author | Reid Spencer <rspencer@reidspencer.com> | 2004-12-27 06:15:29 +0000 |
---|---|---|
committer | Reid Spencer <rspencer@reidspencer.com> | 2004-12-27 06:15:29 +0000 |
commit | 97d4a17f0457553e3cb4dab147dc3a2103979ed1 (patch) | |
tree | b53bc3da6478f231590716c39597ed8783bae9a1 /llvm/lib/System/Process.cpp | |
parent | 0d1ad6ac3479ec6c3cd22471a27af588db151fb3 (diff) | |
download | bcm5719-llvm-97d4a17f0457553e3cb4dab147dc3a2103979ed1.tar.gz bcm5719-llvm-97d4a17f0457553e3cb4dab147dc3a2103979ed1.zip |
For PR351:
* Consolidate implementation for Unix systems into Unix/Process.cpp
* Avoid use of symbolic link to #include platform-specific implementation.
llvm-svn: 19150
Diffstat (limited to 'llvm/lib/System/Process.cpp')
-rw-r--r-- | llvm/lib/System/Process.cpp | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/llvm/lib/System/Process.cpp b/llvm/lib/System/Process.cpp index aba9bfa27c3..5aefb6a3369 100644 --- a/llvm/lib/System/Process.cpp +++ b/llvm/lib/System/Process.cpp @@ -12,6 +12,7 @@ //===----------------------------------------------------------------------===// #include "llvm/System/Process.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/Process.cpp" +#ifdef LLVM_ON_UNIX +#include "Unix/Process.cpp" +#endif +#ifdef LLVM_ON_WIN32 +#include "Win32/Process.cpp" +#endif // vim: sw=2 smartindent smarttab tw=80 autoindent expandtab |