diff options
author | Reid Spencer <rspencer@reidspencer.com> | 2004-11-15 04:36:35 +0000 |
---|---|---|
committer | Reid Spencer <rspencer@reidspencer.com> | 2004-11-15 04:36:35 +0000 |
commit | 00b5df427f11e8ae703d618f11f6b175e5b7d45b (patch) | |
tree | 1939bc19f22027eb220385b82fd18175d30b69fd /lib/System/Interix/TimeValue.cpp | |
parent | b323113b93a14f8032e060b5d05a39c2242e4acc (diff) |
Consolidate the implementation of TimeValue::now() for Unix to use the
seemingly ubiquitous gettimeofday(3) call.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17813 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/System/Interix/TimeValue.cpp')
-rw-r--r-- | lib/System/Interix/TimeValue.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/System/Interix/TimeValue.cpp b/lib/System/Interix/TimeValue.cpp index 6c4957f24b..60c7e0668e 100644 --- a/lib/System/Interix/TimeValue.cpp +++ b/lib/System/Interix/TimeValue.cpp @@ -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 @@ using namespace sys; //=== and must not be generic UNIX code (see ../Unix/TimeValue.cpp) //===----------------------------------------------------------------------===// -// FIXME: Need TimeValue::now() - // vim: sw=2 smartindent smarttab tw=80 autoindent expandtab } |