For PR351:

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


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@19155 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Reid Spencer
2004-12-27 06:16:38 +00:00
parent 424ac897ca
commit c33e4930d4
8 changed files with 8 additions and 192 deletions

View File

@ -11,7 +11,8 @@
//
//===----------------------------------------------------------------------===//
#include <llvm/System/TimeValue.h>
#include "llvm/System/TimeValue.h"
#include "llvm/Config/config.h"
namespace llvm {
using namespace sys;
@ -48,6 +49,11 @@ TimeValue::normalize( void ) {
}
/// Include the platform specific portion of TimeValue class
#include "platform/TimeValue.cpp"
#ifdef LLVM_ON_UNIX
#include "Unix/TimeValue.cpp"
#endif
#ifdef LLVM_ON_WIN32
#include "Win32/TimeValue.cpp"
#endif
// vim: sw=2 smartindent smarttab tw=80 autoindent expandtab