From c33e4930d451268b4729bf84b9c500e4f4cf3c16 Mon Sep 17 00:00:00 2001 From: Reid Spencer Date: Mon, 27 Dec 2004 06:16:38 +0000 Subject: 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 --- lib/System/TimeValue.cpp | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'lib/System/TimeValue.cpp') 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 +#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 -- cgit v1.2.3-70-g09d2