summaryrefslogtreecommitdiffstats
path: root/llvm/lib/System/Unix
diff options
context:
space:
mode:
authorReid Spencer <rspencer@reidspencer.com>2004-11-15 04:42:44 +0000
committerReid Spencer <rspencer@reidspencer.com>2004-11-15 04:42:44 +0000
commit315efa1a84436c1983ba0d26a4766af95ce39093 (patch)
tree92fe8691d53851c0ec63cbed52a9d07a1a20e3db /llvm/lib/System/Unix
parent9b3a69175d8cec2f824d923987e74e9235e9494a (diff)
downloadbcm5719-llvm-315efa1a84436c1983ba0d26a4766af95ce39093.tar.gz
bcm5719-llvm-315efa1a84436c1983ba0d26a4766af95ce39093.zip
Make it actually compile on Solaris.
llvm-svn: 17815
Diffstat (limited to 'llvm/lib/System/Unix')
-rw-r--r--llvm/lib/System/Unix/TimeValue.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/System/Unix/TimeValue.cpp b/llvm/lib/System/Unix/TimeValue.cpp
index 6b476c86cad..d140af9add7 100644
--- a/llvm/lib/System/Unix/TimeValue.cpp
+++ b/llvm/lib/System/Unix/TimeValue.cpp
@@ -37,7 +37,7 @@ std::string TimeValue::toString() {
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");
OpenPOWER on IntegriCloud