diff options
author | Reid Spencer <rspencer@reidspencer.com> | 2004-12-27 06:16:38 +0000 |
---|---|---|
committer | Reid Spencer <rspencer@reidspencer.com> | 2004-12-27 06:16:38 +0000 |
commit | c33e4930d451268b4729bf84b9c500e4f4cf3c16 (patch) | |
tree | e91bc99a59613adca0feabfb6fa8590e60825215 /lib/System/TimeValue.cpp | |
parent | 424ac897caafae0fe15362d8564156c122bfebd4 (diff) |
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
Diffstat (limited to 'lib/System/TimeValue.cpp')
-rw-r--r-- | lib/System/TimeValue.cpp | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/lib/System/TimeValue.cpp b/lib/System/TimeValue.cpp index 15337244c5..64078f6f42 100644 --- a/lib/System/TimeValue.cpp +++ b/lib/System/TimeValue.cpp @@ -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 |