Rename Unix/*.cpp and Win32/*.cpp to have a *.inc suffix so that the silly
[oota-llvm.git] / lib / System / TimeValue.cpp
index 15337244c563bb11780e356fdffe8ea751e28c02..ccf15a2b3e5a33716754ff7553910ad7ced8d05a 100644 (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.inc"
+#endif
+#ifdef LLVM_ON_WIN32
+#include "Win32/TimeValue.inc"
+#endif
 
 // vim: sw=2 smartindent smarttab tw=80 autoindent expandtab