[llvm-commits] CVS: llvm/lib/System/Interix/TimeValue.cpp

Reid Spencer reid at x10sys.com
Sun Nov 14 20:37:23 PST 2004



Changes in directory llvm/lib/System/Interix:

TimeValue.cpp updated: 1.1 -> 1.2
---
Log message:

Consolidate the implementation of TimeValue::now() for Unix to use the
seemingly ubiquitous gettimeofday(3) call.


---
Diffs of the changes:  (+1 -3)

Index: llvm/lib/System/Interix/TimeValue.cpp
diff -u llvm/lib/System/Interix/TimeValue.cpp:1.1 llvm/lib/System/Interix/TimeValue.cpp:1.2
--- llvm/lib/System/Interix/TimeValue.cpp:1.1	Sat Sep 25 00:03:54 2004
+++ llvm/lib/System/Interix/TimeValue.cpp	Sun Nov 14 22:36:34 2004
@@ -12,7 +12,7 @@
 //===----------------------------------------------------------------------===//
 
 // Include the generic Unix implementation
-#include "../Unix/Unix.h"
+#include "../Unix/Unix.cpp"
 
 namespace llvm {
 using namespace sys;
@@ -22,8 +22,6 @@
 //===          and must not be generic UNIX code (see ../Unix/TimeValue.cpp)
 //===----------------------------------------------------------------------===//
 
-// FIXME: Need TimeValue::now()
-
 // vim: sw=2 smartindent smarttab tw=80 autoindent expandtab
 
 }






More information about the llvm-commits mailing list