For PR351:

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


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@19153 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Reid Spencer
2004-12-27 06:16:11 +00:00
parent ce7999598a
commit c87d7cc788
8 changed files with 7 additions and 190 deletions

View File

@ -13,6 +13,7 @@
//===----------------------------------------------------------------------===//
#include "llvm/System/Signals.h"
#include "llvm/Config/config.h"
namespace llvm {
using namespace sys;
@ -25,6 +26,11 @@ using namespace sys;
}
// Include the platform-specific parts of this class.
#include "platform/Signals.cpp"
#ifdef LLVM_ON_UNIX
#include "Unix/Signals.cpp"
#endif
#ifdef LLVM_ON_WIN32
#include "Win32/Signals.cpp"
#endif
// vim: sw=2 smartindent smarttab tw=80 autoindent expandtab