mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-14 14:24:05 +00:00
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:
@ -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
|
||||
|
Reference in New Issue
Block a user