commit | 315efa1a84436c1983ba0d26a4766af95ce39093 | [log] [tgz] |
---|---|---|
author | Reid Spencer <rspencer@reidspencer.com> | Mon Nov 15 04:42:44 2004 +0000 |
committer | Reid Spencer <rspencer@reidspencer.com> | Mon Nov 15 04:42:44 2004 +0000 |
tree | 92fe8691d53851c0ec63cbed52a9d07a1a20e3db | |
parent | 9b3a69175d8cec2f824d923987e74e9235e9494a [diff] [blame] |
Make it actually compile on Solaris. llvm-svn: 17815
diff --git a/llvm/lib/System/Unix/TimeValue.cpp b/llvm/lib/System/Unix/TimeValue.cpp index 6b476c8..d140af9 100644 --- a/llvm/lib/System/Unix/TimeValue.cpp +++ b/llvm/lib/System/Unix/TimeValue.cpp
@@ -37,7 +37,7 @@ TimeValue TimeValue::now() { struct timeval the_time; - ::timerclear(&the_time); + timerclear(&the_time); if (0 != ::gettimeofday(&the_time,0)) ThrowErrno("Couldn't obtain time of day");